End Connectivity Management Session

End a Connectivity Management Session:
POST /session/logout

Ends a Connectivity Management session.

NOTE: The ThingSpace Platform will continue to send callback responses after a session has been logged out.

Contents

See also:
Start a Connectivity Management Session

Request Components

HTTP Request

POST https://thingspace.verizon.com/api/m2m/v1/session/logout

Resource and Query Parameters

None.

Header Parameters

The request header must contain the token of the session that you want to end.

Parameter Name Data Type Description
VZ-M2M-Token
required
string A valid session token returned by POST /session/login.

Request Body

None.

Success Responses

Status 200

Parameter Name Data Type Description
sessionToken string The session token is returned to confirm that it was invalidated.

Example Success Response

{
  "sessionToken": "bcce3ea6-fe4f-4952-bacf-eadd80718e83"
}

Failure Responses

Status 400

All error messages are returned in this format:

{
  "errorCode": "error code string",
  "errorMessage": "error message string"
}

Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.

Try It Out!