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

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;new_access_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;}