Skip to main content

Revoke Imported API Key

POST 

/v2alpha1/admin/importedApiKeys/:key_id:revoke

Immediately revokes an imported API key. Once revoked, the key can no longer be used for authentication. This operation is irreversible. Revoked keys are retained for audit purposes.

POST /v2alpha1/admin/importedApiKeys/9a3f051b2c7e8d4f1a6b9c0e5f2d8a3b:revoke
{
"reason": "REVOCATION_REASON_KEY_COMPROMISE"
}

Request

Responses

A successful response.