User Tools

Site Tools


api:pbx:variable:delete

API : PBX: Variable Delete

Introduction

This request will delete the specified variable.

Request

URL https://api.telecomx.dk/pbx/variable/VARIABLE_NAME
Method DELETE
Access level PERSONA, VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN, ADMIN.
Param VARIABLE_NAME Name of the variable. Prefix with: SHARED: for shared variable. Prefix with <employee-id>: for personal variable.
Query customer [optional] Customer to delete variable on. Defaults to users own customer.

Query example

DELETE https://api.telecomx.dk/pbx/variable/onduty
DELETE https://api.telecomx.dk/pbx/variable/ondutycustomer=12345678901234567890ABCD

Response

Property Type Description
success Boolean True on success

Example

{
  success: true
}

Errors

Error code Message Description
404 name Variable not found
404 customer Customer not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/variable/delete.txt · Last modified: 2025/11/08 03:05 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki