Box Developer Documentation
Latest version

Remove collaboration

delete
https://api.box.com/2.0
/collaborations/:collaboration_id

This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

Deletes a single collaboration.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
1234

The ID of the collaboration.

Response

none

A blank response is returned if the collaboration was successfully deleted.

application/jsonClient error

An unexpected client error.

delete
Remove collaboration
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

Learn more about Box SDK versionig strategy.


cURL
curl -i -X DELETE "https://api.box.com/2.0/collaborations/1234" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.userCollaborations.deleteCollaborationById(collaborationId);
Python v10
client.user_collaborations.delete_collaboration_by_id(collaboration_id)
.NET v10
await client.UserCollaborations.DeleteCollaborationByIdAsync(collaborationId: collaborationId);
Swift v10
try await client.userCollaborations.deleteCollaborationById(collaborationId: collaborationId)
Java v10
client.getUserCollaborations().deleteCollaborationById(collaborationId)
Java v4
BoxCollaboration collaboration = new BoxCollaboration(api, "id");
collaboration.delete();
Python v3
collaboration_id = '1111'
client.collaboration(collaboration_id).delete()
.NET v5
await client.CollaborationsManager.RemoveCollaborationAsync(id: "12345");
Node v3
client.collaborations.delete('56473')
	.then(() => {
		// removal succeeded — no value provided
	});