All Products
Search
Document Center

Alibaba Cloud Service Mesh:DeleteServiceMesh

Last Updated:Mar 05, 2024

Deletes a Service Mesh (ASM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ASM instance ID.

c08ba3fd1e6484b0f8cc1ad8fe10d****
ForcebooleanNo

Specifies whether to forcibly delete the ASM instance. Valid values:

  • true: forcibly deletes the ASM instance.
  • false: does not forcibly delete the ASM instance.

Default value: false.

false
RetainResourcesstringNo

A JSON string that can be parsed into a string array. You can use this JSON string to specify the IDs of the resource instances that need to be retained when the ASM instance is deleted.

[" lb-bp1fxvl3q8akbj6m*****", "lb-bp1hoxkolggdw0y3*****"]

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

11fd0027-c27e-41bb-a565-75583054****

Examples

Sample success responses

JSONformat

{
  "RequestId": "11fd0027-c27e-41bb-a565-75583054****"
}

Error codes

For a list of error codes, visit the Service error codes.