Skip to main content
DELETE
/
organizations
/
{organizationID}
/
api-keys
Bulk delete API Keys for an organization
curl --request DELETE \
  --url https://api.xata.tech/organizations/{organizationID}/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.

Path Parameters

organizationID
string
required

Unique identifier for a specific organization

Body

application/json
ids
string[]
required

Array of API key IDs to delete

Maximum length: 50

Response

API Keys deleted successfully