Update Approval Group
Updates the basic information and approval policy of a specified approval group.
Request URL: /openapi/v1/approval/group/update
Request Method: POST
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| id | Long | Yes | Approval group ID. You can obtain it by calling List Approval Groups. | 30044 |
| name | String | No | Approval group name. | Production Approval Flow |
| description | String | No | Approval group description. | For production SQL task approvals |
| selfApproval | Boolean | No | Whether the submitter can approve their own request. | true |
| specifyApprover | Boolean | No | Whether an approver must be specified when submitting an approval. | false |
Request Example
{
"id": 30044,
"name": "Production Approval Flow",
"description": "For production SQL task approvals",
"specifyApprover": false,
"selfApproval": true
}
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request is successful. | true |
| requestId | String | Request ID for troubleshooting and tracing. | Zr8h1MID-CIIJwHFnIGBg5RWdEIn9LLH |
| data | String | Execution result. | success |
| errorCode | String | Error code returned when the call fails. | None |
| message | String | Error message returned when the call fails. | None |
Successful Invocation Example
{
"success": true,
"requestId": "Zr8h1MID-CIIJwHFnIGBg5RWdEIn9LLH",
"data": "success"
}