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>"
  ]
}
'
{
  "message": "<string>",
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://xata.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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

Pattern: [a-zA-Z0-9_-~:]+

Body

application/json
ids
string[]
required

Array of API key IDs to delete

Maximum array length: 50

Response

API Keys deleted successfully