v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-136454227.5 KB
approvals

Cancels an approval. For more information, see Manage approvals. Updates the approval Status to CANCELLED. This can be called by any user with the writer permission on the file while the approval Status is IN_PROGRESS.

post/files/{fileId}/approvals/{approvalId}:cancel

Path parameters

fileIdstring required

Required. The ID of the file that the approval is on.

approvalIdstring required

Required. The ID of the approval to cancel.

Request body

messagestring

Optional. A message to accompany the cancellation of the approval. This message is included in notifications for the action and in the approval activity log.

Response

Successful response