Delete a bucket
DELETE/api/v1/buckets/:bucketId
Requires owner role on this bucket. Deletes pending invites for the bucket and triggers asynchronous storage purge of all its files/folders.
Request
Responses
- 204
- 401
- 403
- 500
Bucket deleted (storage purge happens asynchronously)
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Missing/invalid token, or the caller's role/group is below the required minimum (FORBIDDEN)
Delete failed (DELETE_FAILED). Note: this is also returned when the bucket does not exist rather than a 404.