---
title: "POST /#X-Amz-Target=AmazonDAXV3.UpdateSubnetGroup"
method: POST
path: "/#X-Amz-Target=AmazonDAXV3.UpdateSubnetGroup"
---

# POST /#X-Amz-Target=AmazonDAXV3.UpdateSubnetGroup

`POST /#X-Amz-Target=AmazonDAXV3.UpdateSubnetGroup`

Modifies an existing subnet group.

## Headers

- `X-Amz-Target` 'AmazonDAXV3.UpdateSubnetGroup', required

## Request body

- UpdateSubnetGroupRequest
  - `SubnetGroupName` string, required — The name of the subnet group.
  - `Description` string — A description of the subnet group.
  - `SubnetIds` String[] — A list of subnet IDs in the subnet group.

## Response `200`

Success

- UpdateSubnetGroupResponse
  - `SubnetGroup` object — The subnet group that has been modified.
    - `SubnetGroupName` string — The name of the subnet group.
    - `Description` string — The description of the subnet group.
    - `VpcId` string — The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
    - `Subnets` Subnet[] — A list of subnets associated with the subnet group.
      - `SubnetIdentifier` string — The system-assigned identifier for the subnet.
      - `SubnetAvailabilityZone` string — The Availability Zone (AZ) for the subnet.

## Other responses

- `480` — SubnetGroupNotFoundFault
- `481` — SubnetQuotaExceededFault
- `482` — SubnetInUse
- `483` — InvalidSubnet
- `484` — ServiceLinkedRoleNotFoundFault

---

[API](https://skmtc.net/aws/apis/dax.md) · [All operations](https://skmtc.net/aws/apis/dax/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/dax/versions/ae11d18c59f6/schema)
