User Tools

Site Tools


api:pbx:queue:member-leave

API : PBX : Queue Member Leave

Introduction

This request will remove a member from a queue.

Request

URL https://api.telecomx.dk/pbx/queue/QUEUE_ID/member/MEMBER_ID
Method DELETE
Access level PERSONAL, MANAGER or OWNER if user belongs to the customer who owns it.
RESELLER if customer belongs to the reseller.
ADMIN.
params QUEUE_ID Id Id of the queue.
MEMBER_ID Id Id of the member to remove from the queue.

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 id Queue not found
404 member Member not found
403 dynamic Cannot remove from a queue which is not dynamic
403 lockLastMember Cannot remove last member from queue
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/queue/member-leave.txt · Last modified: 2025/04/28 07:08 by Thomas Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki