Deletes a single collaboration.
A blank response is returned if the collaboration was successfully deleted.
An unexpected client error.
curl -X DELETE https://api.box.com/2.0/collaborations/1234 \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
await client.CollaborationsManager.RemoveCollaborationAsync(id: "12345");
BoxCollaboration collaboration = new BoxCollaboration(api, "id");
collaboration.delete();
collaboration_id = '1111'
client.collaboration(collaboration_id).delete()
client.collaborations.delete('56473')
.then(() => {
// removal succeeded — no value provided
});
client.collaborations.delete(collaborationId: "12345") { (result: Result<Void, BoxSDKError>) in
guard case .success = result else {
print("Error deleting collaboration")
return
}
print("Collaboration deleted")
}