Logout (rs/logout)

Log out from the Sophos Mobile server.

URL

https://<smc_server_address>/rs/logout

Method

POST

Request header

Key Value
X-SMCRS-Auth-Session Session authentication token from the login response

Request body

empty

Response body

empty

HTTP response status

Status code Description
200 OK Administrator was successfully logged out
401 Unauthorized Administrator is not authorized or the authentication token has expired

Example request

POST /rs/logout HTTP/1.1
Host: smc.yourcompany.com
X-SMCRS-Auth-Session: da81d6d2-3c02-4f18-8115-f4188d84e851