Use the interface to log out and return to the "SIGN IN" page.


URL ip:[port]/sc_cloud/logout
Data Format Response: Content-Type: application/json

Request Cookies

Parameter Description
mwcloud-sid A string value that is used to uniquely identify user logged-in.
mwcloud-uid Current logged-in username.

Request Example

POST /sc_cloud/logout HTTP/1.1
Content-Length: 0
Accept: application/json, text/plain, */*
Cookie: mwcloud-sid=OCXWUMGEYPGIAWWOETYXPNMVHDZIAZJP; mwcloud-uid=Admin

Response Parameters

Response Header
Parameter Description
Content-Type Value: 'application/json; charset=UTF-8'
Response Body
Parameter Description
result Result code. The options are as follows:
  • 0: success.
  • Other values. For details about the result codes, please refer to API Status.

Response Example

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 53
Set-Cookie: mwcloud-sid=; Path=/; Domain=; Max-Age=60; HttpOnly

results matching ""

    No results matching ""

    results matching ""

      No results matching ""