Backend Wallets

Revoke wallet secret.

Changed on

Revoke a wallet secret (authentication key).

Permanently revokes a wallet secret so it can no longer be used for X-Wallet-Auth JWT signing.

post/v2/accounts/backend/revoke-secret

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v2/accounts/backend/revoke-secret
  • Auth: HTTP bearer

Request body

keyIdstring required

Key identifier of the secret to revoke.

Example request

{
  "keyId": "ws_1234567890"
}

Response

Successful response.

object'walletSecretRevocation' required

The type of object.

keyIdstring required

The key ID of the revoked secret.

revokedboolean required

Whether the secret was successfully revoked.

revokedAtinteger required

Timestamp when the secret was revoked (Unix epoch seconds).

Example response

{
  "keyId": "ws_1234567890"
}

Changes

    • info

      the endpoint scheme security wallet_auth was added to the API

    • info

      the endpoint scheme security user_project was removed from the API

    • info

      the endpoint scheme security user_project was added to the API

    • info

      the endpoint scheme security wallet_auth was removed from the API