Latest version

Remove collaboration

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

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

cURL
curl -i -X DELETE "https://api.box.com/2.0/collaborations/1234" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.userCollaborations.deleteCollaborationById(groupCollaboration.id);
Python Gen
client.user_collaborations.delete_collaboration_by_id(group_collaboration.id)
.NET Gen
await client.UserCollaborations.DeleteCollaborationByIdAsync(collaborationId: groupCollaboration.Id);
Swift Gen (Beta)
try await client.userCollaborations.deleteCollaborationById(collaborationId: groupCollaboration.id)
Java
BoxCollaboration collaboration = new BoxCollaboration(api, "id");
collaboration.delete();
Python
collaboration_id = '1111'
client.collaboration(collaboration_id).delete()
.NET
await client.CollaborationsManager.RemoveCollaborationAsync(id: "12345");
Node
client.collaborations.delete('56473')
	.then(() => {
		// removal succeeded — no value provided
	});
iOS
client.collaborations.delete(collaborationId: "12345") { (result: Result<Void, BoxSDKError>) in
    guard case .success = result else {
        print("Error deleting collaboration")
        return
    }

    print("Collaboration deleted")
}