Skip to main content
DELETE
/
api
/
v1
/
projects
/
{project_id}
/
api-keys
/
{api_key_id}
Revoke Api Key
curl --request DELETE \
  --url https://api.devkit4ai.com/api/v1/projects/{project_id}/api-keys/{api_key_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://devkit4ai.com/docs/llms.txt

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

Revoke (delete) a specific API key. The key will no longer be valid for authentication.

Headers

Authorization
string
required
Bearer token for authentication

Path Parameters

project_id
string
required
Unique project identifier
api_key_id
string
required
Unique API key identifier to revoke

Response

message
string
Confirmation message

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string<uuid>
required
api_key_id
string<uuid>
required

Response

Successful Response