Skip to main content

Deactivate Public Key

POST 

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

Deactivates the public key for payload encryption. The public key will no longer be used to encrypt payloads sent to the target. Be aware that deactivating the active key will leave the target without an active key. Subsequent calls to the target with payload type PAYLOAD_TYPE_JWE will fail until a new key is activated. This endpoint can be used in break glass scenarios to quickly disable a compromised key. Deactivating a key that is already inactive is a no-op.

Required permission:

  • action.target.write

Request​

Responses​

Public key deactivated successfully

Was this page useful?