alpacon acl entry remove

Revoke one or more pre-approved commands by entry ID.

Usage

alpacon acl entry remove ENTRY_ID... [flags]

Key facts

  • Take entry IDs from alpacon acl entry ls. A name is refused.
  • Several IDs are revoked together or not at all.
  • A revoked entry stops matching at once, and the command it pre-approved is checked again on every run. The ledger keeps the revoked entry for its audit trail.
  • To stop an entry for a while instead, use disable.
  • Use --yes to skip confirmation.

Aliases: remove, rm

Flags

FlagTypeDescriptionDefault
-h, --helpboolhelp for removefalse
-y, --yesboolSkip confirmation promptfalse
--outputstringOutput format: table or jsontable

Examples

Revoke one entry

bash
alpacon acl entry remove 550e8400-e29b-41d4-a716-446655440000

Revoke two entries without a prompt

bash
alpacon acl entry rm 550e8400-e29b-41d4-a716-446655440000 6ba7b810-9dad-11d1-80b4-00c04fd430c8 -y
Last updated: