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​
- 200
- 403
- 404
- default
Public key removed successfully
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
An unexpected error response.