Delete Bucket
Delete a bucket by ID.
Authentication
Requires X-Glue-Authentication.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
bucket_id |
string | The bucket ID |
Request
1curl -X DELETE "https://api.hola.cloud/v1/buckets/bucket-550e8400-e29b-41d4-a716-446655440000" \
2 -H 'X-Glue-Authentication: {"user":{"id":"user-123"}}'
Response
The response body is the deleted bucket object.
1{
2 "id": "bucket-550e8400-e29b-41d4-a716-446655440000",
3 "project_id": "",
4 "created_timestamp": 1782045600000000000,
5 "owners": ["user-123"],
6 "name": "my-new-bucket",
7 "description": "Optional bucket description"
8}
Error Codes
| Status | Description |
|---|---|
| 401 | Missing or invalid X-Glue-Authentication |
| 404 | Bucket not found |
| 500 | Persistence error |
Comments