Delete Bucket
This method deletes a bucket
note
Bucket deletion is not possible when VOD is associated with it. In this case, you must first delete VOD for the associated bucket
Request Parameters
DELETE /api/clients/v1/s3Buckets/{id}/
Headers
- Content-Type: application/json
- Authorization: Bearer
$access_token
Path
| Parameter | Type | Constraints | Description | Example |
|---|---|---|---|---|
| id | integer | > 0, required | Bucket ID | 46 |
Response Parameters
Examples
204 No Content
Bucket successfully deleted
400 Bad Request
Invalid path parameters
{
"id": [
"A valid integer is required."
]
}
401 Unauthorized
Authentication credentials missing or invalid
{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}
403 Forbidden
Only project participants can delete buckets associated with the project
{
"detail": "Only project participants can view this project's buckets"
}
404 Not Found
Bucket with specified ID not found
{
"detail": "Bucket not found"
}