User Settings
Delete User Extensions
Deletes user extension(s) and either keeps or destroys the assets - numbers and devices. Multiple extensions can be deleted with a single API call.
Please note: This API cannot be tested on Sandbox.
delete/restapi/v2/accounts/{accountId}/extensions
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)
Request body
Example request
{
"records": [
{
"id": "12345"
}
]
}Response
Successful response
Example response
{
"records": [
{
"id": "1162820004",
"bulkItemSuccessful": true,
"bulkItemErrors": [
{
"errorCode": "XXX-123",
"message": "Something went wrong"
}
]
}
]
}