Revoke Refresh Token


Revoke all refresh token.

Prerequisites


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

Required/Optional

Data Type

Description

Authorization

Required

String

The access token generated after the user logs in and selects the OU, represented by Bearer Token, is in the form of Bearer {your token}. You can call the Log In or Refresh Access Token API to obtain the access token.

Request Parameters (URI)


Name

Location (Path/Query)

Required/Optional

Data Type

Description

refreshToken

Query

Required

String

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?refreshToken=yourRefreshToken
method: POST
headers: {"Authorization":"Bearer your_token"}

Return Sample


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