Destructive Pro

Revoke API Key

Permanently revokes an API key, identified by its UUID or prefix (for example, 'ws_abcdefghij'). Revocation is immediate and cannot be undone, and it frees one slot toward the 10-key-per-account limit. It returns a not found error if the key_id does not belong to the current user.

revoke_api_keyDELETE/api/v1/api-keys/{key_id}
crispy — bash

Example prompt: Revoke the API key with prefix ws_abcdefghij right now

{
  "revoked": true,
  "key_id": "ws_abcdefghij"
}
Permission scope
pro
Access
Destructive
Category
Account

What you can build

Immediately disable a leaked or compromised key
Free up a slot toward the 10-key limit before creating a new key
Retire a key tied to an integration you no longer use
Complete a credential rotation by removing the superseded key

Parameters

Inputs accepted by revoke_api_key.

NameTypeDescription
key_idstringThe key UUID (from list_api_keys) or key prefix (e.g. 'ws_abcdefghij...').

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.