Deleting an Edge Storage bucket
This guide walks you through deleting an Edge Storage bucket using the Azion API and Azion CLI.
Deleting a bucket
Run the following DELETE
request in your terminal, replacing [TOKEN VALUE]
with your personal token and bucket_name
with the name of the bucket you want to delete:
curl --location --request DELETE 'https://api.azion.com/v4/storage/buckets/bucket_name' \
--header 'Accept: application/json' \
--header 'Authorization: Token [TOKEN VALUE]'
You’ll receive a response similar to this:
/{"state":"executed","data":{"name":"bucketname","edge_access":"read_only"}}%
Requirements
To delete a bucket: