Skip to main content

Remove Public Key

DELETE 

/v2/actions/targets/:targetId/publickeys/:keyId

Removes the public key from the target. This is a permanent action and can not be undone. Note that you can only remove inactive keys. Attempting to remove an active key will result in an error. For break glass scenarios, deactivate the key first and then remove it. Removing a non-existing key is a no-op.

Required permission:

  • action.target.write

Request​

Responses​

Public key removed successfully

Was this page useful?