ApprovePermissionApplyOrder
Approves a permission request. Note: The 2020 version of OpenAPI will be retired at a later date. Migrate to the 2024 version of OpenAPI, ApproveProcessInstance, as soon as possible.
Operation description
Note: The 2020 version of OpenAPI will be retired at a later date. Migrate to the 2024 version of OpenAPI, ApproveProcessInstance, as soon as possible.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowId |
string |
Yes |
The ID of the request to be approved. You can call the ListPermissionApplyOrders operation to obtain the ID. |
48f36729-05f9-4a40-9286-933fd940f30a |
| ApproveComment |
string |
Yes |
The comment for the approval. |
agree |
| ApproveAction |
integer |
Yes |
The approval action to be performed. Valid values:
Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data structure. |
||
| ApproveSuccess |
boolean |
Indicates whether the approval was successful. |
true |
| RequestId |
string |
The request ID. |
0bc1ec92159376**** |
Examples
Success response
JSON format
{
"ApproveSuccess": true,
"RequestId": "0bc1ec92159376****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.