itemAccessTokenInvalidate
POST {{baseUrl}}/item/access_token/invalidate
By default, the access_token
associated with an Item does not expire and should be stored in a persistent, secure manner.
You can use the /item/access_token/invalidate
endpoint to rotate the access_token
associated with an Item. The endpoint returns a new access_token
and immediately invalidates the previous access_token
.
Request Body
{"access_token"=>"<string>", "client_id"=>"5fd43aad1186c30013d6f3e2", "secret"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"new_access_token":"\u003cstring\u003e","request_id":"\u003cstring\u003e"}