Remove collaboration

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

Deletes a single collaboration.

Request

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 -X DELETE https://api.box.com/2.0/collaborations/1234 \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
.NET
await client.CollaborationsManager.RemoveCollaborationAsync(id: "12345");
Java
BoxCollaboration collaboration = new BoxCollaboration(api, "id");
collaboration.delete();
Python
collaboration_id = '1111'
client.collaboration(collaboration_id).delete()
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")
}