Request

The <deleteSubscriber> request can be used to delete IMSI and MSISDN routing data and subscriber data. See Subscriber and Routing Data for a description of subscriber and routing data.

The request allows for the removal of IMSI, MSISDN, or combinations of IMSI and MSISDN routing entities. Each routing entity contains up to eight destination names.

When the group="y" attribute is specified, the request deletes all data associated with the subscriber, including the Account ID, all relationships, and all IMSI and MSISDN routing entities that were assigned to the subscriber.

When group="y" is not specified or when group="n" is specified, only IMSI and MSISDN routing entities are deleted. If the IMSI or MSISDN value is assigned to a subscriber and there is at least one more IMSI or MSISDN value assigned to the subscriber, the IMSI or MSISDN value is removed from the subscriber.

The last IMSI or MSISDN value cannot be removed from a subscriber - the user must delete the whole subscriber by specifying the group="y" attribute.

Semantic Rules (requests that do not specify the group attribute or specify group="n")

Semantic Rules (requests that specify group="y")

Request Format

<deleteSubscriber ent="subscriberRouting" ns="dsr" [resonly="resonly"]
                  [id="id"] [timeout="timeout"] [group="group"]>
[   <accountId>accountId</accountiId> ]
[
    <imsi>imsi</imsi>
    …
    <imsi>imsi</imsi>
]
[
    <msisdn>msisdn</msisdn>
    …
    <msisdn>msisdn</msisdn>
]
</deleteSubscriber>

Request Parameters

<deleteSubscriber> Request Parameters (XML)
Parameter Definition Values
ent The entity name within the global schema. subscriberRouting
ns The namespace within the global schema. dsr
resonly (Optional) Indicates whether the response should consist of the result only, without including the original request in the response.
  • y - Only provide the result, do not include the original request (default).
  • n - Include the original request in the response.
id (Optional) Transaction ID value provided in request and passed back in the response. 1-4294967295
timeout (Optional) The amount of time (in seconds) to wait to before being able to perform a write if another connection is performing a write, or has a transaction open.

Clients waiting to write are processed in the order that their requests were received.

If the request is being performed within a transaction, this parameter will have no effect, as the client already has a transaction open.

0 (return immediately if not available) to 3600 seconds (default is 0).
group (Optional) Indicates if all of the subscriber's data should be deleted or just specified IMSI or MSISDN routing entities.
  • y - Delete subscriber and all of its IMSI and MSISDN routing entities.
  • n - Only delete specified MSISDN and IMSI routing entities (default).
accountId A user-defined Account ID value to delete. 1 to 26 numeric digits.
imsi (Optional) An IMSI (specified in E.212 format). 10 to 15 numeric digits.
msisdn (Optional) An MSISDN (specified in E.164 international public telecommunication numbering plan format). 8 to 15 numeric digits.