UserBroadWorksMobilityMobileIdentityDeleteRequest
Bases: OCIRequest
Delete a mobile identity from the user's list of mobile identities. The response is either a SuccessResponse or an ErrorResponse. If another Mobile Identity is set to ring mobile only and only has this mobile identity in the alerting list, the identity is deleted and ErrorResponse is returned. The ErrorResponse is info type and contains the affected mobile numbers in the summary. When a delete request is attempted on the primary mobile identity, the delete will fail unless it is the last mobile identity in the user's list.
Attributes:
user_id (str):
mobile_number (str):
Source code in src/mercury_ocip/commands/commands.py
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserBroadWorksMobilityMobileIdentityDeleteRequest
client = Client()
command = UserBroadWorksMobilityMobileIdentityDeleteRequest(
user_id=...,
mobile_number=...,
)
response = client.command(command)
print(response)