Skip to main content

Activate Public Key

POST 

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

Activates the public key for payload encryption. The public key is used to encrypt the payload sent to the target when the payload type is set to PAYLOAD_TYPE_JWE. Activating a new key will deactivate the current active key. Only one key can be active at a time. The active key is indicated in the kid header in the JWE token sent to the target. Activating a key that is already active is a no-op.

Required permission:

  • action.target.write

Request​

Responses​

Public key activated successfully

Was this page useful?