Update an override policy
PUT/api/v1/OverridePolicy/:id
Replaces the settings of an override policy and returns the updated policy. Send the full policy: the ID in the body must match the ID in the path, and the name must not match another policy. When a schedule ID changes, the policy's existing jobs of that kind move to the new schedule.
Permission required: Admin role.
Values for type: 0 = Credential, 1 = Resource.
Request
Responses
- 200
- 400
- 404
The updated override policy.
The ID in the body does not match the path, the name is already used, or the update failed.
No override policy has this ID.