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 Bearer {your token}. You can call the Log In or Refresh Access Token API to obtain the access token.

Response Parameters


Name

Data Type

Description

data

Boolean

Whether the logout is successful. true means the logout is successful, false means the logout is failed.

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
}