Revoke Refresh Token¶
Revoke a user’s refresh token.
Request Format¶
POST https://{apigw-address}/app-portal-service/v2.0/refreshToken/revokeAll
Request Parameters (Header)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
Authorization |
Mandatory |
String |
The access token (or bearer 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 (Body)¶
Name |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
refreshToken |
Mandatory |
String |
The refresh token. Refer to Choose Organization to learn how to get the refresh token. |
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.0/refreshToken/revokeAll
method: POST
requestHeaders:
{
"Authorization":"yourBearerToken"
}
requestBody:
{
"refreshToken":"yourRefreshToken"
}
Return Sample¶
{
"code":200,
"message":"",
"data":null
}