Bucket Deletion

DELETE {{protocol}}://{{media_storage_url}}/bucket/:bucket_name

Delete a bucket and all of the files it contains.

This API only allows Service to Service consumption. A zesty user cannot use this API.

X-Service-Auth-Content and X-Service-Auth-Sig custom headers are used to consume this API via Service to Service token.

Body: raw JSON

namedescription
storage_driver[string] Required. Storage Provider. accepted value is gcp

Request Body

{"storage_driver"=>""}

HEADERS

KeyDatatypeRequiredDescription
X-Service-Auth-Contentstring
X-Service-Auth-Sigstring

RESPONSES

status: OK

{"message":"","status":"OK","data":[{"headers":{"cache-control":"no-cache, no-store, max-age=0, must-revalidate","content-length":"0","content-type":"application/json","date":"Sat, 30 Dec 2023 07:19:23 GMT","expires":"Mon, 01 Jan 1990 00:00:00 GMT","pragma":"no-cache","server":"UploadServer","vary":"Origin, X-Origin","x-guploader-uploadid":"ABPtcPqEsxuLmVdDyJg_Q1gLXl-CVuqhZ-9HO5Z4EaZZMF6M8s16qbD5qpGWDF-2YTIaO1dODK8"}}],"code":200}