User Tools

Site Tools


api:pbx:trunk:delete

API : PBX : Trunk Delete

Introduction

This request will delete a trunk.

Request

URL https://api.telecomx.dk/pbx/trunk/TRUNK_ID
Method DELETE
Access level MANAGER or OWNER if user belongs to the customer who owns it.
RESELLER if customer belongs to the reseller.
ADMIN.
params TRUNK_ID Id Id of the trunk to delete.

Response

JSON object
success Boolean true on success.

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Id not found in request URI
404 not_found Trunk not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/trunk/delete.txt · Last modified: 2018/09/01 13:25 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki