Manage Purposes
This page details the immuta purpose
command, its subcommands and arguments, and the workflow for creating and deleting purposes.
Command: immuta purpose
immuta purpose
This command allows you to list, save, and delete purposes in your instance of Immuta. The table below illustrates subcommands and arguments.
delete
Delete a purpose by name.
purpose name
list
List all purposes.
n/a
save
Create or update a purpose in Immuta.
filepath
Options
Use these options to get more details about the purpose
command or any of its subcommands:
-h
--help
Create a Purpose: immuta purpose save
immuta purpose save
Add your purpose information in a valid YAML file for the V2 API. Additional payload examples for creating purposes can be found here.
Run
immuta purpose save <filepath> [--dryRun] [--reAcknowledge]
, referencing the file you just created. The options you can specify include--reAcknowledge
: Require all users of any projects using this purpose to re-acknowledge any updated acknowledgement statements.-d
or--dryRun
: No updates will be made.-h
or--help
: Get more information about the command.
Examples
The example below illustrates a user creating a purpose called Demo Purpose
.
Delete a Purpose: immuta purpose delete
immuta purpose delete
You need the GOVERNANCE
permission in Immuta to run this command.
Opt to list all purposes to determine which purpose you would like to delete by running
immuta purpose list
. Options you can specify include-h
or--help
: Get more information about the command.-v
or--verbose
: Print response as JSON.
Delete a purpose by running
immuta purpose delete <purpose name> [--dryRun]
, enclosing the purpose name in quotation marks. Options you can specify include-d
or--dryRun
: No updates will be made.-h
or--help
: Get more information about the command.
Example
The example below illustrates a user deleting the purpose Demo Purpose
.