oauth
Revoke a token
Changed onRevokes an access or refresh token. Only tokens issued for system users are currently supported. Revoked tokens become immediately invalid and unusable.
post/oauth/token/revoke
Request
- Base URLhttps://api.pinterest.com/v5
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Example request
{
"token": "pinr.eyJhbGciOiJS..."
}Response
The request has succeeded.
Changes
- breaking
added to the
request propertyallOflist - breaking
removed the enum value
access_tokenof the request property - breaking
removed the enum value
refresh_tokenof the request property - info
the
request property type was generalized fromstringto no type
- breaking
- info
endpoint added
- info