Edit an Extension Group

Edit extension group settings, such as extension group name or members.

Request URL

{base_url}/{api_path}/extensiongroup/update?token={token}

Request parameters

Parameter Required Type Description
id Yes Integer The unique ID of an extension group.
name No String The extension group name.
members No String The members in the extension group.

Response parameters

Parameter Type Description
status String Request result.
  • Success
  • Failed

Examples

Request example

Change the name and members of the extension group with id 8.

POST /api/v2.0.0/extensiongroup/update?token=6b4b4bc214498e9a55af60411393a31f HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
  "id":"8",
  "name": "yeastar",
  "members": "1000,1001,1011,1017,1018"
 }

Response example

HTTP/1.1 200 OK
Server: Boa/0.94.101wk
Accept-Ranges: bytes
Connection: close
Content-Type: application/json
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
  "status":"Success"
 }