The DeleteServiceMesh operation deletes a Service Mesh instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:DeleteServiceMesh |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The Service Mesh instance ID. |
c08ba3fd1e6484b0f8cc1ad8fe10d**** |
| Force |
boolean |
No |
Specifies whether to force delete the ASM instance. Valid values:
Default value: false. |
false |
| RetainResources |
string |
No |
A JSON string that can be parsed into an array of strings. The array contains the instance IDs of the resources to retain when you delete the Service Mesh instance. |
[" lb-bp1fxvl3q8akbj6m*****", "lb-bp1hoxkolggdw0y3*****"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
11fd0027-c27e-41bb-a565-75583054**** |
Examples
Success response
JSON format
{
"RequestId": "11fd0027-c27e-41bb-a565-75583054****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.