Revoke Refresh Token


Revoke a user’s refresh token.

Operation Permissions


An existing valid user refresh token is required.

Request Format


POST https://{apigw-address}/app-portal-service/v2.2/refreshToken/revokeAll

Request Parameters (Header)


Name

Mandatory/Optional

Data Type

Description

Authorization

Mandatory

String

The access token (or bearer token). The format of the parameter’s string is Bearer {your token}. Refer to Log In or Refresh Access Token to learn how to get the access token

Content-Type

Optional

String

The content type of the returned content is “application/x-www-form-urlencoded”

Request Parameters (URI)


Name

Mandatory/Optional

Data Type

Description

refreshToken

Mandatory

String

The refresh token. Refer to Choose Organization to learn how to get the refresh token

Error Codes


Code

Message

Description

31400

Lack of necessary parameters

Refresh Token is required

31401

Please login first

Login first to get valid Access Token and Refresh Token

Samples

Request Sample


url: https://{apigw-address}/app-portal-service/v2.2/refreshToken/revokeAll
method: POST
requestHeaders:
{
  "Authorization":"yourBearerToken"
}
requestBody:
{
  "refreshToken":"yourRefreshToken"
}

Return Sample


{
  "code":0,
  "message":"",
  "data":null
}