Logout

Prev Next

This URL allows logging out from the Manager. It generates either a response or an error message.

Resource URL

DELETE /session

Request Parameters

None

Response Parameters

The return value is 1 if logout is successful; otherwise, an error message is returned

Field Name

Description

Data Type

return

Return value

Number

Example

Request

DELETEhttps://<NSM_IP>/sdkapi/session

Response

{
"return": 1 
}

Error Information

Following error codes are returned by this URL:

S.No

HTTP Error code

SDK API errorId

errorMessage

1

400

4501

Unable to get the Manager details