Skip to main content

Delete a bucket

DELETE 

https://fly.mgnt.storage.tigris.dev/v1/providers/:provider_id/orgs/:org_id/buckets/:bucket_name

Deletes the bucket and all its contents. If the bucket is not empty, it will not be deleted unless the force query parameter is set to true.

Request

Path Parameters

    provider_id stringrequired

    Provider ID

    org_id stringrequired

    Organization ID

    bucket_name stringrequired

    Bucket name

Query Parameters

    force boolean

    If set to true, deletes the bucket even if it's not empty

Responses

OK

Schema

    object

Authorization: X-Tigris-Signature

name: X-Tigris-Signaturetype: apiKeyin: headerdescription: HMAC-SHA256 of the request method, url, along with the unique nonce and timestamp signed using signing key.
To create the signature, concatenate the method, url, nonce, and timestamp with a newline character in between.
Then, calculate the HMAC-SHA256 of the concatenated string using the signing key. Ex -

Created `canonical_request` as:
```
POST
https://fly.mgnt.storage.tigris.dev/provider/laravel/orgs/my-org/provision
1731703213870
f8d133cb-5a42-47b1-9ef2-874bb55bab72
```
Then, calculate HMAC-SHA256 of the canonical request using the signing key as:
```
Signature = hex(sha256sign(canonical_request, "signing key"))
```
name: X-Tigris-Noncetype: apiKeyin: headerdescription: Random unique string to identifying the request and prevent replay attacks. Ex - "f8d133cb-5a42-47b1-9ef2-874bb55bab72"
name: X-Tigris-Timetype: apiKeyin: headerdescription: Unix timestamp in millis of the request. Ex - 1731703213870

Request Collapse all
Base URL
https://fly.mgnt.storage.tigris.dev
Auth
Parameters
— pathrequired
— pathrequired
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!