policies
policies delete
Delete a policy profile
Permanently delete an agent policy profile. Agent credentials must not be using the profile. A confirmation prompt is shown unless --yes is passed.
Usage
pgbeam policies delete <id> [flags]Options
| Option | Description | Required | Default |
|---|---|---|---|
<id> | Policy profile ID | Yes | - |
--yes, -y | Skip the confirmation prompt (useful for scripts and CI/CD) | No | false |
Global options
All global options (--token, --profile,
--project, --org, --json, --no-color, --debug) are also available on
this command.
Examples
# Delete a policy profile (with confirmation)
pgbeam policies delete pol_xxx
# Delete without confirmation (CI/CD)
pgbeam policies delete pol_xxx --yesOutput
Confirms the policy profile was deleted. Exits with a non-zero code if the profile is not found or still in use.