Creates or deletes a policy template on the My Policies tab of the Playbook page.
Operation description
Only the Enterprise and Ultimate editions of Security Center support this API operation.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| StrategyId | long | Yes | The ID of the policy. Note
You can call the DescribeSoarStrategies operation to obtain the ID.
| 8000 |
| SubscribeStatus | boolean | Yes | Specifies whether to create the policy template. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "8BF56229-7FF5-51ED-B958-00B8573E77CD"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
