Revoke a publishable key by ID (admin only). Revoked keys stop working immediately.
cURL
curl --request DELETE \ --url https://app.usechar.ai/api/publishable-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "key_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "success": "<unknown>" }
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK