retention policy
retention policy delete
Delete a retention policy.
Warning
The user needs permission to update the project metadata in addition to managing its retention policy, due to a critical API bug that will break a project if the project metadata is not updated after its retention policy is deleted.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Options
--id
<POLICY_ID>
Retention policy ID. Overrides positional argument.
Type: integer
--force
Force deletion without confirmation.
Type: boolean
(flag)
Default: False
retention policy get
Fetch a retention policy.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text
Options
--id
<POLICY_ID>
Retention policy ID. Overrides positional argument.
Type: integer
retention policy id
Get the retention policy ID for a project.
Arguments
PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:'
to specify an ID.
Type: text