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

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

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

Deletes a subnet group.

You cannot delete a subnet group if it is associated with any DAX clusters.

## Headers

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

## Request body

- DeleteSubnetGroupRequest
  - `SubnetGroupName` string, required — The name of the subnet group to delete.

## Response `200`

Success

- DeleteSubnetGroupResponse
  - `DeletionMessage` string — A user-specified message for this action (i.e., a reason for deleting the subnet group).

## Other responses

- `480` — SubnetGroupInUseFault
- `481` — SubnetGroupNotFoundFault
- `482` — 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)
