Clone or create a security policy

Kona Site Defender, App & API Protector with the Advanced Security module Creates a new copy of an existing security policy or creates a new security policy from scratch when you don't specify a policy to clone in the request. To create a new security policy, leave createFromSecurityPolicy empty in your request.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
string

The unique identifier (policyId) of the source policy to create the new policy from.

string

The default settings on the policy, true by default.

string

The name of the security policy. If not provided, the system generates a name automatically with the pattern clone from <createFromSecurityPolicy>.

string

The four-character alphanumeric string prefix for the policyId. If not provided, the prefix is autogenerated.

string | null

The source for the new the policy. If not provided, the source is blank. Other values are 'default' or the source security policy ID.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Choose an example:
application/json
application/problem+json