Members
Retrieve a collection of user group members.
Authorizations
Path parameters
idall ofRequired
The unique ID of user group.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
Responses
200
OK
application/json
4XX
Error
get
GET /api/groups/{id}/members HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"display_name": "text",
"extension_number": "text"
}
]
}
Check if extension is in user group.
Authorizations
Path parameters
idall ofRequired
The unique ID of user group.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
extension_numberstring · min: 3 · max: 64RequiredPattern:
The extension number.
[0-9]{3,64}
Responses
200
OK
application/json
404
Not Found
get
GET /api/groups/{id}/members/{extension_number} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"display_name": "text",
"extension_number": "text"
}
Add user member into group.
Authorizations
Path parameters
idall ofRequired
The unique ID of user group.
stringOptionalExample:
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYw
extension_numberstring · min: 3 · max: 64RequiredPattern:
The extension number.
[0-9]{3,64}
Responses
200
OK
4XX
Error
post
POST /api/groups/{id}/members/{extension_number} HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content