operation put api v1 policies parameter.md

Update a policy

PUT /api/v1/policies/{policy}

Policies can be switched on and off using the is_active flag.
Use this functionality if you don't have preset policy start and end times.

Servers

Parameters

Path parameters

Body: application/json (object)

Responses

200

Returns the policy object if the update succeeded. Returns an error if update parameters are invalid.

Body: application/json (object)