updateKey with enabled: false instead of deletion.
Required Permissions
Your root key must have one of the following permissions:api.*.delete_key(to delete keys in any API)api.<api_id>.delete_key(to delete keys in a specific API)
Request
Specifies which key to delete using the database identifier returned from
createKey. Do not confuse this with the actual API key string that users include in requests.Deletion immediately invalidates the key, causing all future verification attempts to fail with code=NOT_FOUND. Key deletion triggers cache invalidation across all regions but may take up to 30 seconds to fully propagate.Pattern: ^[a-zA-Z0-9_]+$Example: key_2cGKbMxRyIzhCxo1Idjz8qControls deletion behavior between recoverable soft-deletion and irreversible permanent erasure.
- Soft deletion (default): Preserves key data for potential recovery through direct database operations.
- Permanent deletion: Completely removes all traces including hash values and metadata with no recovery option.
Response
The response contains an empty data object on success.Empty object indicating successful deletion.