Skip to main content

Endpoint

POST https://api.ugc.inc/org/api-key/delete

Overview

Permanently delete an API key from your organization. Once deleted, the API key can no longer be used to authenticate API requests. This action cannot be undone.
Deleting an API key will immediately invalidate it. Any services using this key will lose access. Make sure to update any applications using this key before deletion.

Request Body

apiKeyId
string
required
ID of the API key to delete

Response

data
object
Response containing the deleted API key ID
curl -X POST https://api.ugc.inc/org/api-key/delete \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "apiKeyId": "550e8400-e29b-41d4-a716-446655440000"
  }'
{
  "ok": true,
  "code": 200,
  "message": "Success",
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000"
  }
}