Delete a Device

Request that a device is deleted from the subscriber database.

The device must have a life cycle status that allows it to be deleted, for example, an Inactive status, and have no open sessions associated with it. When the device is deleted, all information associated with the device is also deleted, such as the external ID, access numbers, and IMSI.

Note: It is not necessary to remove the device from a subscriber before deleting the device. When a device is deleted, it is automatically removed from the subscriber.
Note: Devices may have an open session with the PCRF or Charging Server , even if they are not actively being used. You can delete any open sessions using the request parameter deleteSession with a value of true. When this parameter is specified, all open sessions are deleted and any reserved quota is released. This is not an Abort-Session-Request (ASR).

REST Example

URL
DELETE http://host:port/rsgateway/data/v3/device/0-1-5-3?deleteSession=1
Response
<MtxResponse>
    <RouteId>1</RouteId>
    <Result>0</Result>
    <ResultText>OK</ResultText>
</MtxResponse>