Client tokens

Update a client-side token

Changed on

Updates a client-side token using its ID.

You can revoke a client-side token by changing its status to revoked. Client-side tokens that are revoked can't be updated to active.

If successful, your response includes a copy of the updated client-side token entity.

patch/client-tokens/{client_token_id}

Request

  • Base URL
    https://sandbox-api.paddle.com
  • Auth
    HTTP bearer

Path parameters

client_token_idstring required

Paddle ID of the client-side token entity.

Request body

status'active' | 'revoked' required

Status of this client-side token.

Response

The request has succeeded.

Example response

{
  "data": {
    "id": "ctkn_01ghbkd0frb9k95cnhwd1bxpvk",
    "revoked_at": "2024-10-12T07:20:50.52Z",
    "created_at": "2024-10-12T07:20:50.52Z",
    "updated_at": "2024-10-13T07:20:50.52Z"
  },
  "meta": {
    "request_id": "b15ec92e-8688-40d4-a04d-f44cbec93355"
  }
}

Changes