PUT
/
access-tokens
/
{token_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/access-tokens/{token_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Postman"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

token_id
string
required

The Token ID.

Body

application/json
The details required to update the token.
description
string
required

Clear description on the token use case.

Example:

"Postman"

Response

200
application/json
Successfully updated token.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.