---
title: "Update number group"
method: PUT
path: "/api/relay/rest/number_groups/{id}"
tags: ["Number Groups"]
---

# Update number group

`PUT /api/relay/rest/number_groups/{id}`

Updates a number group.

#### Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Numbers_.

[Learn more about API scopes](/docs/platform/your-signalwire-api-space).

## Path parameters

- `id` string, uuid, required — Universal Unique Identifier.

## Request body

- UpdateNumberGroupRequest — Request body for updating a number group.
  - `name` string, required — The name given to the number group. Helps to distinguish different groups within your project.
  - `sticky_sender` boolean — Whether the number group uses the same 'From' number for outbound requests to a number, or chooses a random one.

## Response `200`

The request has succeeded.

- NumberGroupResponse — Response containing a single number group.
  - `id` string, uuid, required — Universal Unique Identifier.
  - `name` string, required — The name given to the number group. Helps to distinguish different groups within your project.
  - `sticky_sender` boolean, required — Whether the number group uses the same 'From' number for outbound requests to a number, or chooses a random one.
  - `phone_number_count` integer, required — The number of phone numbers within the group.

## Other responses

- `401` — Access is unauthorized.
- `404` — The server cannot find the requested resource.
- `422` — The request failed validation. See errors for details.
- `500` — An internal server error occurred.

---

[API](https://skmtc.net/signalwire/apis/signalwire-rest-api.md) · [All operations](https://skmtc.net/signalwire/apis/signalwire-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signalwire/signalwire-rest-api/versions/05c5164b85c7/schema)
