For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
      • GETRetrieve Organization
      • PUTUpdate Organization
        • GETList Organization API Keys
        • GETGet Organization API Key
        • POSTCreate Organization API Key
        • PUTUpdate Organization API Key
        • DELRevoke Organization API Key
  • Evals
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
Data ModelsOrganizationAPI Keys

Revoke Organization API Key

DELETE
https://api.confident-ai.com/v1/organization/api-keys/:apiKeyId
DELETE
/v1/organization/api-keys/:apiKeyId
$curl -X DELETE https://api.confident-ai.com/v1/organization/api-keys/1 \
> -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200Deleted
1{
2 "success": true,
3 "data": {
4 "id": 12,
5 "deleted": true
6 }
7}

Permanently revokes an organization-scoped API key. This action cannot be undone.

Was this page helpful?
Previous

List Organization Members

Next
Built with

Path parameters

apiKeyIdintegerRequired
The unique identifier of the API key.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Response

successboolean
Indicates if the request was successful
dataobject