Help Center/ Document Database Service/ API Reference/ APIs V3.0 (Recommended)/ Database O&M/ Enabling or Disabling a killOp Rule
Updated on 2025-10-24 GMT+08:00
Enabling or Disabling a killOp Rule
API Description
This API is used to enable or disable a killOp rule.
Constraints
- This API applies only to replica set and cluster instances.
- This API is available only for DDS 3.4 or later.
- This API is available only for an instance node with 4 or more vCPUs.
URI
Request Parameters
- Parameter description
Table 2 Request body parameters Parameter
Mandatory
Type
Description
ids
Yes
Array of strings
List of killOp rule IDs.
action
Yes
String
Enable or disable a killOp rule.- enable: Enable a killOp rule.
- disable: Disable a killOp rule.
- Example Requests
{ "ids" : [ "7d2f36b4-6edb-4093-8c78-810b30232943" ], "action" : "enable" }
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Parent topic: Database O&M
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.