Log Out¶
Log out of the account.
Prerequisites¶
The user has logged in to Application Portal and entered an OU. You can log in to Application Portal through the Log In API and select the OU through the Choose Organization API.
Request Format¶
GET https://{apigw-address}/app-portal-service/v2.2/logout
Request Parameters (Headers)¶
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 |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
Boolean |
Whether the logout is successful. |
Error Code¶
Code |
Message |
Description |
---|---|---|
31401 |
Access token is not valid |
The Access Token provided is invalid |
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.2/logout
method: GET
headers: {"Authorization":"Bearer your_token"}
Return Sample¶
{
"code":0,
"message":"",
"data":true
}