Delete extension
Request to remove an extension from the pool:
DELETE /api/v2/extensions/<extension-id>.json
An extension that is assigned to a user is unassigned and deleted. Existing call recordings are not affected.
Response contains HTTP status code as shown in the following table.
| Response | Description |
|---|---|
| 200 OK | The extension has been successfully deleted |
| 403 Forbidden | The request cannot be completed because API user has no permission to delete extensions |
| 404 Not Found | Extension with such ID does not exist, or it is outside the access scope of the API user |