PgBeam Docs
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

OptionDescriptionRequiredDefault
<id>Policy profile IDYes-
--yes, -ySkip the confirmation prompt (useful for scripts and CI/CD)Nofalse

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 --yes

Output

Confirms the policy profile was deleted. Exits with a non-zero code if the profile is not found or still in use.

On this page