cURL
curl --request POST \ --url https://sandbox.deck.co/api/v1/connection/access_token/invalidate \ --header 'Content-Type: application/json' \ --header 'x-deck-client-id: <api-key>' \ --header 'x-deck-secret: <api-key>' \ --data '{ "access_token": "<string>" }'
{ "new_access_token": "<string>" }
Rotate the access_token associated with a connection. The endpoint returns a new access_token and immediately invalidates the previous access_token.
Enter your client id
Enter your secret
OK
The response is of type object.
object
Was this page helpful?