{{baseUrl}}/token/:token
PUT {{baseUrl}}/token/:token
Method that allows you to modify the entire token object by passing it new ones or the same reference scopes with a new expiration
Please note that the TTL option is not available for this method.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"data": [
{
"scopes": [
"GET:comparabili.openapi.it/tassonomie"
],
"expire": 1583942471,
"token": "5f0efd20568fa12c575182f0"
}
],
"success": true,
"message": "",
"error": null
} |
ENDPOINTS