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>"
    }
  ]
}
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