コラボレーションを削除

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

1つのコラボレーションを削除します。

Request

Bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
1234

コラボレーションのID

Response

none

コラボレーションが正常に削除された場合は、空のレスポンスが返されます。

予期しないクライアントエラー。

delete
コラボレーションを削除
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>"
.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")
}