Create a policy

Create a new Cloudlet policy. If a policy already exists with the same policy name, you receive a 409 (Conflict) status response that contains data for the existing policy. New policies are automatically assigned version number 1.

Query Params
integer

If cloning an existing policy, this parameter is the ID of the policy (policyId) you want to clone. If there are attributes that you do not want propagated from the source policy, you must provide the new values in the request.

integer

For POST operations, indicates the version of the existing policy to use for the new policy. If not specified, the latest version of the existing policy is copied.

Body Params

TBD.

integer
enum
required

The ID of cloudlet that this policy is for. The cloudletId for Edge Redirector is 0, Visitor Prioritization is 1, Forward Rewrite is 3, Request Control is 4, API Prioritization is 5, Audience Segmentation is 6, Phased Release is 7, and Application Load Balancer is 9. To see the available Cloudlets, run the List Cloudlets operation.

string

Description of the policy.

integer

The group to place the policy in.

string
required

Name of the policy.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json