Delete a trunk
DELETE/v1/trunks/:id
Deletes the trunk with its routes on the PBX; a by-called-number prefix goes back to the available pool. fct and fctmvno trunks are bound to an FCT device and return 403. Requires api_user|trunk_delete.
Request
Responses
- 200
- 401
- 403
- 404
- 503
Deleted
Unauthenticated
Missing permission, or an fct/fctmvno trunk
The trunk does not exist, or belongs to another organization
The PBX is unreachable, or no PBX tenant is assigned to the organization