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}
Request
- Base URLhttps://platform.ringcentral.com
- AuthOAuth 2Authorization codehttps://platform.ringcentral.com/restapi/oauth/authorizeToken URLhttps://platform.ringcentral.com/restapi/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.