curl --request DELETE \
--url https://api.hubapi.com/oauth/v1/refresh-tokens/{token}{
"category": "<string>",
"correlationId": "<string>",
"message": "<string>",
"subCategory": "<string>",
"errors": [
{
"message": "<string>",
"in": "<string>",
"code": "<string>",
"subCategory": "<string>",
"context": {}
}
],
"context": {},
"links": {}
}Deletes a refresh token. You can use this to delete your refresh token if a user uninstalls your app.
curl --request DELETE \
--url https://api.hubapi.com/oauth/v1/refresh-tokens/{token}{
"category": "<string>",
"correlationId": "<string>",
"message": "<string>",
"subCategory": "<string>",
"errors": [
{
"message": "<string>",
"in": "<string>",
"code": "<string>",
"subCategory": "<string>",
"context": {}
}
],
"context": {},
"links": {}
}The refresh token that you want to delete.
Refresh token deleted successfully
Was this page helpful?