How to delete an Edge SQL database
This guide demonstrates how to use Azion Edge SQL to delete an existing database using the Azion API.
Deleting a database
Run the following DELETE
request in your terminal, replacing [TOKEN VALUE]
with your personal token and {id_database}
with the ID of the database you want to delete:
curl --location --request DELETE 'https://api.azion.com/v4/edge_sql/databases/{id_database}' \--header 'Authorization: Token [TOKEN VALUE]'
You should receive a response similar to this:
{"state":"pending","data":null}
Contributors