Skip to main content
DELETE
/
api-keys
Bulk delete API Keys for the authenticated user
curl --request DELETE \
  --url https://api.xata.tech/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
ids
string[]
required

Array of API key IDs to delete (maximum 50 keys per request)

Maximum length: 50

Response

API Keys deleted successfully