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
headerrequired

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

Response

200 - application/json

The response is of type object.