Grants an approval on an Account
.
HTTP request
POST https://cloudcommerceprocurement.googleapis.com/v1/{name=providers/*/accounts/*}:approve
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the account, with the format Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "properties": { string: string, ... }, "approvalName": string, "reason": string } |
Fields | |
---|---|
properties |
Set of properties that should be associated with the account. Optional. An object containing a list of |
approvalName |
The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional. |
reason |
Free form text string explaining the approval reason. Optional. Max allowed length: 256 bytes. Longer strings will be truncated. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.