{{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.

Request Body

{"scopes"=>["<string>", "<string>"], "expire"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;scopes&quot;:[&quot;GET:comparabili.openapi.it/tassonomie&quot;],&quot;expire&quot;:1583942471,&quot;token&quot;:&quot;5f0efd20568fa12c575182f0&quot;}],&quot;success&quot;:true,&quot;message&quot;:&quot;&quot;,&quot;error&quot;:null}