Log out (POST)

Description

URL

scheme://domain:port/platform/ws/logout

Description

The logout service invalidates the security token, and the user can no longer access the other web services.

HTTP Method

POST

Parameters

None

Request

Request-Method

POST

Request-URI

/platform/ws/logout

Request-Header

Name

Value

Accept

application/xml or application/json

Message-body

None

Response

Response-Code

  • 200 Successful: Request was successful.
  • 400 Bad request: There is no token.
  • 403 Forbidden: Access restricted by role-based access control permissions.
  • 500 Internal Server Error: Exception occurred.
  • 503 Service Unavailable: You must have Platform Application Center Standard Edition to use web services.

Response-Header

Name

Value

Content-Type

application/xml or application/json

Message-body

Failure Message

If not successful, returns an error message.

For additional information, refer to the schema file ./schemas/jobs/error.xsd.

<error>
  <message>
     %s
  </message>
</error>

Example


# Request
POST /platform/ws/logout HTTP/1.1
Host: www.example.org
Accept: application/xml
…

# Response
200 Successful
Content-Type: application/xml;