POST perception/provisioning_requests/remove_sessions

Available from CRM.COM R9.0.0

This method removes all sesions which are related with a specific perception provider (for example when the subscriber's password has changed). A single subscription can be updated by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

subscription_identifier

(mandatory)

Subscription Identifier

The identifier of the subscription. Only subscriptions which are provisioned by Perception can be specified. The allowed subscription identifier fields are the following:

Name

Type

Description

id 

(semi-optional)

String

The ID of subscription

number 

(semi-optional)

String

The number of subscription

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

Not Applicable.

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

  {
   "token": "AE5847C0F2C544B98390C8C39530BCBD",
    "subscription_identifier" :{"number":  "S60808"}
}

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {}
}