Executes a policy task in the task center.
Operation description
Only the Enterprise and Ultimate editions of Security Center support this API call. Other editions are not supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ProcessSoarStrategyTask |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StrategyTaskId |
integer |
Yes |
The ID of the policy task. Note
Call the DescribeSoarStrategyTasks operation to obtain this parameter. |
100 |
| TaskAction |
string |
Yes |
The action status of the task. Valid values:
Valid values:
|
SCHEDULE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response content. |
||
| RequestId |
string |
The ID of the request. The China Chinese Cloud generates a unique identifier for the request. You can use the ID to troubleshoot issues. |
79CFF74D-E967-5407-8A78-EE03B925**** |
Examples
Success response
JSON format
{
"RequestId": "79CFF74D-E967-5407-8A78-EE03B925****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.