cURL
curl --request POST \ --url https://management-api.fpjs.io/encryption-keys/{id}/revert \ --header 'Authorization: Bearer <token>' \ --header 'X-API-Version: <x-api-version>'
{ "data": { "id": "tok_No3jUysGLCDuqB3RnCVf1weo", "name": "My Encryption Key", "status": "enabled", "environment": "ae_rrETjdWcfqI6AFsk", "created_at": "2024-05-31T01:24:39.506Z", "last_activated_at": "2024-05-31T01:24:39.506Z", "last_rotated_at": "2024-05-31T01:24:39.506Z", "description": "Description for my encryption key", "previous_token": "eWDrrpGGLjDQW0LBA0Wj", "token": "eWDrrpGGLjDQW0LBA0Wj", "next_token": "eWDrrpGGLjDQW0LBA0Wj", "last_deactivated_at": null } }
Reverts the last encryption key rotation.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Management API version.
Encryption key object.
Show child attributes
Was this page helpful?