Sample - Box Platform API
DELETE/collaborations/{collaboration_id}

Remove a collaboration

Deletes a specific collaboration and removes its access permissions from the associated file or folder. Use collaboration_id to identify the collaboration to remove.

1 parameter
collaboration_idstringrequired
The string identifier of the collaboration to delete.

2 status codes
204Returns a blank response when the collaboration has been successfully deleted.
defaultReturned for an unexpected client error.
typestringoptional
The value will always be `error`.
Allowed:error
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
Allowed:createdacceptedno_contentredirectnot_modifiedbad_requestunauthorizedforbiddennot_foundmethod_not_allowedconflictprecondition_failed
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context about the error. The possible fields are defined on a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used when contacting Box support.

Error handling

collaboration_id must identify an existing collaboration. Deleting the collaboration removes the associated access permission.