Skip to main content
DELETE
/
app
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
api-keys
/
{id}
Delete API Key
curl --request DELETE \
  --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/api-keys/{id}

Documentation Index

Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt

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

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
API Key ID

Response

{
  "message": "API key successfully deleted",
  "id": "afd8012b-d81e-41c6-92cd-eed0c6cb3676"
}
Deleting an API key is permanent and cannot be undone. Any applications using this key will immediately lose access. Consider revoking the key first (setting status to revoked) if you need time to migrate applications to a new key.

Error Responses

API Key Not Found

{
  "error": {
    "code": "APIKEY_NOT_FOUND",
    "message": "API key not found"
  }
}

Code Examples

curl -X DELETE "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/api-keys/key123" \
  -H "Authorization: Bearer YOUR_JWT"