我要评分
获取效率
正确性
完整性
易理解

Request Format Description

This interface is used by the DevKit to send an exit request to the system of the integration party. After the exit information is obtained, the integration environment should verify client_id and access_token. After the verification, the integration environment should invalidate the token of the primary system of the integration party and exit the system. In this way, you can exit the DevKit and system of the integration party at the same time.

Request Mode

POST(HTTPS)

Resource URL

https://Domain_name_of_the_authentication_interface/sso/oauth2/logout

Request Header

Content-Type: application/json

Request Parameter

Table 1 Request parameters

Parameter

Name

Type

Description

client_id

Application ID

String

Registration ID of the client application (The input parameter is stored in the server configuration file during the DevKit installation.).

access_token

Authentication token

String

Token authorization code.

Request Example

curl -X POST 
 http://Domain_name_of_the_authentication_interface/auth/sso/oauth2/logout
  -H 'Content-Type: application/json' 
  -d '{
  "client_id": "20221017000000001",
"access_token": "*******************************"
}'