Skip to main content

4.3.5 Change the file status: `complete`, `cancel`, `reopen` or `restore`

POST 

/v1/files/:fileId/transition

Requires Files.Cancel for cancel and Files.Update for the other actions. restore is only allowed for the file owner, a team manager or an org admin. Use GET /v1/files/{fileId}/action-eligibility to see which actions are currently allowed. A transition that is not allowed in the file's current state returns 409 with the reason.

Request​

Responses​

Status changed