v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

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>.

delete/services/{serviceIdentifier}

Path parameters

serviceIdentifierstring required

The ID or ARN of the service.

Response

Success

idstring

The ID of the service.

arnstring

The Amazon Resource Name (ARN) of the service.

namestring

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.