Activate a policy version

Asynchronously activates or deactivates the selected Cloudlet policy version on the staging or production networks. When a policy version becomes active on the network, the previously active version gets automatically deactivated. Activating a policy version returns the id of the activation, which you can store and use to run the Get status for an activation operation to check the status value. You can activate a policy on each network only after any previous activations have completed, otherwise you get a 409 error.

Path Params
integer
required

Identifies the shared policy.

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
boolean
Defaults to false

Specifies whether to ignore any HTTP errors that result from the Cloudlets policy you're activating. When set to the default false, any spike in HTTP errors caused by a misconfigured policy cancels the activation. Make sure to test your policy version activation in the staging network before setting this to true to bypass the safety measure in the production network.

string
enum
required

The networks where you can activate or deactivate the policy version, either PRODUCTION or STAGING.

Allowed:
string
enum
required

The operations that you can perform on a policy version, either ACTIVATION or DEACTIVATION.

Allowed:
integer
required

Identifies the policy version.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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