---
title: "DELETE /services/{serviceIdentifier}"
method: DELETE
path: "/services/{serviceIdentifier}"
---

# DELETE /services/{serviceIdentifier}

`DELETE /services/{serviceIdentifier}`

Deletes a service. A service can't be deleted if it's associated with a service network. If you delete a service, all resources related to the service, such as the resource policy, auth policy, listeners, listener rules, and access log subscriptions, are also deleted. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/services.html#delete-service">Delete a service</a> in the <i>Amazon VPC Lattice User Guide</i>.

## Path parameters

- `serviceIdentifier` string, required

## Response `200`

Success

- DeleteServiceResponse
  - `id` string — The ID of the service.
  - `arn` string — The Amazon Resource Name (ARN) of the service.
  - `name` string — The name of the service.
  - `status` 'ACTIVE' | 'CREATE_IN_PROGRESS' | 'DELETE_IN_PROGRESS' | 'CREATE_FAILED' | 'DELETE_FAILED' — The status. You can retry the operation if the status is <code>DELETE_FAILED</code>. However, if you retry it while the status is <code>DELETE_IN_PROGRESS</code>, the status doesn't change.

## 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/revisions/bbec5439e0f7/schema)
