Skip to main content

Update an action

Updates the on_policy_success and on_policy_fail fields of an existing approval action.

Request Body
on_policy_success string

Possible values: [approve, manual]

The action to be taken on policy success.

on_policy_fail string

Possible values: [manual, deny]

The action to be taken on policy failure.

Responses
200

The operation was successful

Schema OPTIONAL
id integer

A system-wide unique ID representing the action

nrn string

The NRN of the resource (including children resources) where the action will apply

entity string

The entity to which this action applies. Example: deployment

action string

The action to which this action applies. Example: deployment:create

dimensions object OPTIONAL

The set of dimension/values to which this action applies.

on_policy_success string

Possible values: [approve, manual]

The action to be taken on policy success.

on_policy_fail string

Possible values: [manual, deny]

The action to be taken on policy failure.