Response

The delete Subscriber response is returned as a generic <ns2:sdsResult> response. This response returns the result of the request to delete subscriber and/or routing entities. A single result applies to all routing entities supplied. Either all subscriber and/or routing entities were successfully deleted, or no deletes were made.

If applying all of the delete changes results in no routing entities being deleted (because the database already did not contain the specified values), the NO_UPDATES error code is returned and the number of affected records is 0.

If a subscriber is successfully deleted, the description field contains lists of deleted IMSI and MSISDN values.

Response Format

The response is displayed between the <soapenv:Body> and </soapenv:Body> XML tags, as shown in SOAP Response Messages.
<ns2:sdsResult affected="affected" error="error" [description="description"]>
</ns2:sdsResult>

Response Error Codes

Table 1 displays common error codes for the <deleteSubscriber> response. See SDS Response Message Error Codes for a full list of error codes.
<deleteSubscriberResponse> Error Codes (SOAP)
Error Code Description
SUCCESS The delete request was successfully completed.
NO_UPDATES The records were already deleted from the database.
MULTIPLE_SUBSCRIBERS Specified parameters refer to multiple subscribers.
ROUTE_TYPE_MISMATCH Standalone and subscriber routes are not allowed in same command.

DEL_ROUTE_NOT_PERMITTED

The last route from a subscriber cannot be deleted.