Skip to main content

otdfctl policy obligations update

update - Update an obligation definition

Synopsis

otdfctl policy obligations update [flags]

Description

Update the name and/or metadata labels for an obligation definition.

If PEPs rely on this obligation name, a name update could break access.

Make sure you know what you are doing.

For more information about obligations, see the obligations subcommand.

Example

otdfctl policy obligations update --id 34c62145-5d99-45cb-a732-13cb16270e63 --name new_obligation_name

Options

-i, --id <id>
ID of the obligation to update (required: true)
-n, --name <name>
Optional updated name of the obligation (must be unique within the Namespace) (required: false)
-l, --label <label>
Optional metadata 'labels' in the format: key=value (required: false)
--force-replace-labels <force-replace-labels>
Destructively replace entire set of existing metadata 'labels' with any provided to this command (required: false)

Aliases

u