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
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": "*******************************"
}'