curl --request POST \
--url https://public-api.stora.co/oauth2/revoke \
--header 'Content-Type: application/json' \
--data '
{
"token": "eNDLzESXHDatsGA2pb1dgSVpmP0uPOVIkvuO4NREDBA",
"grant_type": "client_credentials",
"client_id": "ei5bQqk_qUqan8MYMarc2-Eqb48vdB-oc_qBBUjG7co",
"client_secret": "7BPdLtixgZbMpTu-EgXqyG5yaUn9QWo14XfoeUL0CKI"
}
'{}OAuth 2
Revoke an Access Token
Revoke an Access Token, for example when an operator disconnects Stora from your app. Authenticate with your client_id and client_secret. Pass either the access token or its refresh token as token. Both stop working. Revoking an unknown or already revoked token still succeeds.
Webhook endpoints you created keep receiving events after you revoke, so delete them first.
POST
/
oauth2
/
revoke
curl --request POST \
--url https://public-api.stora.co/oauth2/revoke \
--header 'Content-Type: application/json' \
--data '
{
"token": "eNDLzESXHDatsGA2pb1dgSVpmP0uPOVIkvuO4NREDBA",
"grant_type": "client_credentials",
"client_id": "ei5bQqk_qUqan8MYMarc2-Eqb48vdB-oc_qBBUjG7co",
"client_secret": "7BPdLtixgZbMpTu-EgXqyG5yaUn9QWo14XfoeUL0CKI"
}
'{}Was this page helpful?