Revoke the current active key (24-hour grace) and issue a new one. Returns the plaintext, which is also re-revealable later via GET /v1/account (at-rest encrypted).

post/v1/keys/rotate

Request

  • Base URL
    https://api.exchangerate.dev (the document declares no server; this is the origin it was published from)
  • URL
    https://api.exchangerate.dev/v1/keys/rotate
  • Auth
    none declared

Response

Successful Response

resultstring
createdboolean required
org_idstring required
plaintextstring nullable required

Changes

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added subschema #2 to the response property anyOf list for the response status