Organisations
Disconnect a destination
Removes the destination and its queue, and revokes Google Drive’s access at Google.
DELETE
/orgs/{org}/storage/{id}TL;DR
| Question | Answer |
|---|---|
| What does it do? | Disconnect a destination. |
| What does it take? | org, id in the path. |
| What does it return? | Status 204 with no body. |
| What can go wrong? | 401 not signed in; 403 not the owner or an admin (orgs.forbidden), the plan does not include it (plan.storage_not_included), or the origin may not make changes; 404 no such organisation or destination, or the caller is not a member; 429 too many requests; 503 sending to your storage is not available on this server (storage.unavailable). Every failure uses the one error envelope. |
What it does
Removes the destination and its queue, and revokes Google Drive’s access at Google. The files already sent stay.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
org | string | yes | The organisation's id or its slug. |
id | string | yes | The destination. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 204 | Disconnected. | none |
| 401 | Not signed in. | ErrorResponse |
| 403 | Not the owner or an admin (orgs.forbidden), the plan does not include it (plan.storage_not_included), or the origin may not make changes. | ErrorResponse |
| 404 | No such organisation or destination, or the caller is not a member. | ErrorResponse |
| 429 | Too many requests. | ErrorResponse |
| 503 | Sending to your storage is not available on this server (storage.unavailable). | ErrorResponse |
See also
| Doc | Why |
|---|---|
| API reference | Every endpoint, and the error envelope |
| Schemas | Every request and response type |
| Tool reference | The operations as callable tools |