UninstallPlugin
Uninstalls a system plugin from an Elasticsearch instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UninstallPlugin |
none |
*Instance
|
None | None |
Request syntax
POST /openapi/instances/{InstanceId}/plugins/actions/uninstall HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-n6w1o1x0w001c**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
Specifies the client token that is used to ensure the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B3FF**** |
| body |
string |
No |
The names of the system plugins to uninstall. |
["aliyun-sql","codec-compression"] |
| force |
boolean |
No |
Specifies whether to forcibly uninstall the plugins. This parameter can be used to cancel the installation of plugins that are being installed, and applies only to instances that use the new architecture. Default value: false. |
false |
RequestBody
You must also specify the names of the plugins to uninstall in the RequestBody. The format is ["pluginname1","pluginname2",…,"plugin_namen"], such as ["aliyun-sql","codec-compression"]. For more information about how to obtain the installed plugins of an instance, see ListPlugins.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F99407AB-2FA9-489E-A259-40CF6DCC**** |
| Result |
array |
The names of the Elasticsearch plugins uninstalled in the current request. |
|
|
string |
The list of plugins requested to be uninstalled. If the uninstallation fails, an error is returned. |
["aliyun-mysql"] |
Examples
Success response
JSON format
{
"RequestId": "F99407AB-2FA9-489E-A259-40CF6DCC****",
"Result": [
"[\"aliyun-mysql\"]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.