Adds or removes a policy template to or from My Policies in the task center.
Operation description
Only the Enterprise and Ultimate editions of Security Center support this API call. Other editions do not support this call.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifySoarStrategySubscribe |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StrategyId |
integer |
Yes |
The policy ID. Note
Call the DescribeSoarStrategies operation to obtain this parameter. |
8000 |
| SubscribeStatus |
boolean |
Yes |
The add or remove status. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues. |
8BF56229-7FF5-51ED-B958-00B8573E77CD |
Examples
Success response
JSON format
{
"RequestId": "8BF56229-7FF5-51ED-B958-00B8573E77CD"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.