POST
/
v1
/
apis.deleteApi
curl --request POST \
  --url https://api.unkey.dev/v1/apis.deleteApi \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "apiId": "api_1234"
}'
{}

Changelog

DateChanges
Dec 06 2023Introduced endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
apiId
string
required

The id of the api to delete

Minimum length: 1

Response

200
application/json
The api was successfully deleted, it may take up to 30s for this to take effect in all regions

The response is of type object.