This endpoint deletes a bucket and all its resources including:
The deletion is performed asynchronously via a background task. Returns immediately with a task_id that can be polled via GET /v1/tasks/.
Response:
task_id: Use this to poll deletion status via GET /v1/tasks/status: Initial status (PENDING)bucket_id: The bucket being deletedbucket_name: Name of the bucketobject_count: Number of objects that will be deletedPolling: Poll GET /v1/tasks/ until status is COMPLETED or FAILED. Use exponential backoff (start 1s, max 30s).
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
"ns_abc123def456"
"production"
"my-namespace"
Successful Response