Approve with modifications
POST /api/v1/approvals/{approval_id}/modify
Approves a pending action but requests modifications before execution.
Authorizations
Parameters
Path Parameters
The approval item ID to modify
The approval item ID to modify
Request Body required
Request body for approving an action with modifications.
Attributes: modifications: What should be changed before execution. feedback: Why the modifications are needed.
object
Responses
200
Successful Response
Envelope response for approval action endpoints.
Attributes: data: The approval decision payload. meta: Standard response metadata.
object
Inner data payload for approval decision responses.
Attributes: decision: The decision made (approved, rejected, modified). decision_id: The ID of the approval that was acted on. action_type: The action type that was decided on. feedback: Owner feedback, if provided. reason: Rejection reason, if applicable. modifications: Requested modifications, if applicable. execution_result: Result of executing the action, if available.
Standard metadata included in every API response.
Attributes: request_id: Unique identifier for this request. timestamp: When the response was generated.
object
Unique identifier for this request
When the response was generated
422
Validation Error