Skip to main content
Version: v5.6.1

opschain security git-policies delete

Included from Basic tier

Deletes one git identity policy entry by id. The remotes it covered fall back to the deny-all default for the principals it covered (other entries still union in). The delete is audited (api:git_remote_policies:destroy) and applies on the next authorisation decision.

opschain security git-policies delete 019a0d7e-10c2-7f7a-8b53-3b1c9a4f2e01
Deleted git identity policy 019a0d7e-10c2-7f7a-8b53-3b1c9a4f2e01

Flags​

FlagMeaning
--server <url>Server base URL (default: the active context / OPSCHAIN_SERVER).
--auth-token <token>Bearer token override (default: your opschain login session, then $OPSCHAIN_ADMIN_TOKEN, then the token stored by opschain admin login).

See also​

  • opschain docs cli/security-git-policies-put