Storage

Delete a bucket

DELETE/v1/workspaces/{workspaceId}/buckets/{bucketId}

Deletes a bucket. Requires an editor role. Pass confirmName equal to the bucket name.

Authentication

Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.

Authorization: Bearer <SPARK_API_KEY>

Path parameters

workspaceId

string

The workspace id.

bucketId

string

The bucket id.

Query parameters

confirmName

string

Must equal the bucket name.

Was this page helpful?