Update a Number Group
PUT/number_groups/:id
Updates the specific Number Group by setting the values of any parameters passed in. Any parameters not provided will be unchanged.
Permissions
The API token must include the following scopes: Numbers.
Request
Path Parameters
id uuidrequired
Unique ID of the number group
- application/json
Body
required
name stringrequired
The name given to the number group. Helps to distinguish different groups within your project.
Example:
My Number Group
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
The unique identifier of the Number Group on SignalWire. This can be used to update or delete the group programmatically.
name stringrequired
The name given to the number group. Helps to distinguish different groups within your project.
Example:
My Number Group
sticky_sender boolean
Whether the number group uses the same 'From' number for outbound requests to a number, or chooses a random one. Defaults to false
.
Example:
false
phone_number_count number
The number of phone numbers within the group.
Example:
4
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "My Number Group",
"sticky_sender": false,
"phone_number_count": 4
}