---
title: "DELETE /servicenetworks/{serviceNetworkIdentifier}"
method: DELETE
path: "/servicenetworks/{serviceNetworkIdentifier}"
---

# DELETE /servicenetworks/{serviceNetworkIdentifier}

`DELETE /servicenetworks/{serviceNetworkIdentifier}`

Deletes a service network. You can only delete the service network if there is no service or VPC associated with it. If you delete a service network, all resources related to the service network, such as the resource policy, auth policy, and access log subscriptions, are also deleted. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#delete-service-network">Delete a service network</a> in the <i>Amazon VPC Lattice User Guide</i>.

## Path parameters

- `serviceNetworkIdentifier` string, required

## Response `204`

Success

- DeleteServiceNetworkResponse

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

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