Namespace: "urn:zimbraAdmin"
RemoveDevice SOAP Command

Remove a device or remove all devices attached to an account. This will not cause a reset of sync data, but will cause a reset of policies on the next sync.

Authorization token required true
Admin Authorization token required true

RemoveDeviceRequest

    <RemoveDeviceRequest> ## RemoveDeviceRequest
        <account by="{acct-selector-by} (adminName|appAdminName|id|foreignPrincipal|name|krb5Principal)">{key}</account> ## AccountSelector
        <device id="{device-id}" /> ## DeviceId
    </RemoveDeviceRequest>

The following table describes elements and attributes you can define within a <RemoveDeviceRequest> element:

XPath Required / Optional Description
/account Required (only 1) Type:{key}
Account Selector
Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by}
/account@by Required (only 1) Type:adminName|appAdminName|id|foreignPrincipal|name|krb5Principal
Select the meaning of {acct-selector-key}
/device Optional (0 or 1) Device specification - Note - if not supplied ALL devices will be removed.
/device@id Required (only 1) Type:String
device ID

RemoveDeviceResponse

    <RemoveDeviceResponse /> ## RemoveDeviceResponse