Home > API Reference > Revoke Refresh Tokens

Revoke Refresh Tokens

Business application can call this API to revoke the refresh tokens generated for a user. The refresh token is generated and sent when a successful authentication request is made.

https://api.signinghub.com/tokens

HTTP Verb

DELETE

Authorization

Bearer {access_token}

Content-Type

application/x-www-form-urlencoded

Accept

application/json

Request Body

refresh_token=45ghiukldjahdnhzdauz&token_type_hint=refresh_token

Status Code

Message

Response Body 

200

OK


401 Unauthorized
{
  "Message" : "Invalid or expired refresh token"
}
400  Bad Request
{
  "Message" : "Invalid or expired refresh token"
}
403  Forbidden
{
   "Message":"Account is disabled"
}

500

Internal Server Error

{
   "Message": "An internal server error occurred while processing the request"
}

Explanation of parameters used in the request and response:

 Item Details
 Names
 Description
 Request Parameters
 access_token Users access token

 refresh_token OAuth refresh access token to revoke. 

 token_type_hint Type of token. Currently only refresh_token is supported.
 
Response Parameters
 Message The service specific error message returned by the API. This message provides useful information about why the service has returned an error response.




See also
Authentication
Get Service Agreements
OTP Login Authentication
Kerberos Authentication
Single Sign On Authentication
Get Public Authentication Profiles
Pre Login Authentication
Logout
SigningHub Admin APIs
Enterprise Management
Document Package
Document Workflow
Document Preparation
Document Processing
Account Management
Personal Settings
Appendix
Get SigningHub Admin Branding
Get SH Admin Branding Logo
Get SH Admin Branding Favicon
System Settings
Publish Workflow Completion Report
Get Profile Picture of Recipient
Get Enterprise Branding Logo
Get Enterprise Branding Favicon
OTP Verification