Devices
Remove phone line
Disassociates a phone line (DL & Device) from an extension:
- if the value of keepAssetsInInventory is true, the given device is moved to unassigned devices and the number is moved to the number inventory;
- if the value of keepAssetsInInventory is false, the given device and number is removed from the account;
- if the parameter keepAssetsInInventory is not set (empty body), default value true is set.
delete/restapi/v2/accounts/{accountId}/devices/{deviceId}
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
deviceIdstring required
Internal identifier of a source device
Request body
Response
Successful response (when keepAssetsInInventory is true)
Example response
{
"name": "My Device N1",
"serial": "ff:ff:ff:ff:ff:ff"
}