User Tools

Site Tools


api:pbx:phonebook:delete

API : PBX : Phonebook Delete

Introduction

This request will delete a contact in the phonebook.

Request

URL https://api.telecomx.dk/pbx/phonebook/CONTACT_ID
Method DELETE
Access level PERSONAL if contact is personal and belongs to the user or the user has the group right 'writePhonebook'.
MANAGER, OWNER if contact is personal and user has the group right 'writePhonebook' or if the contact is shared.
RESELLER, RESELLER_ADMIN or ADMIN if the contact is shared.
params CONTACT_ID Id Id of the contact to delete.

Response

JSON object
success Boolean true on success.

Example

{
  success: true
}

Errors

Error code Message Description
404 not_found Contact not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/phonebook/delete.txt · Last modified: 2025/01/10 11:05 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki