Disconnect

<< Click to Display Table of Contents >>

Navigation:  Managing Syncplify.me Server! > REST API > SuperAdmin API > Auth/Login >

Disconnect

Disconnect from server (optional).

 

 

Request

Method

URL

POST

/smserver/smsadm.Disconnect

RAW

POST /smserver/smsadm.Disconnect HTTP/1.1

Cache-Control: no-cache

Connection: Keep-Alive

Pragma: no-cache

Content-Type: application/json; charset=UTF-8

Accept: */*

Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

 

[

{}

]

Explained

Terminates the current HTTPS administrative session.

 

Response

Method

URL

RAW

Accept-Encoding: synlz,gzip

Content-Length: 41

Content-Type: application/json; charset=UTF-8

Date: Thu, 28 Jan 2016 22:57:55 GMT

Server: Microsoft-HTTPAPI/2.0

Server-InternalState: 15

 

{"result":[{"Result": 1}],"id":772674711}

Explained

The result is a JSON object that contains an array of 1 element. Such array contains the actual Result object (in the example above the Result is 1).

 

Result values:

  Greater than 0 = Success

  0 or less = Error

 

Optionally, when the result is 0 or less (error) the object also contains a "ResultMsg": "friendly error message"