sincecutoff.com
← all changes

vercel flags entities rm removes entities with reference checks

Introduced 2026-09-09 · score 0.91

HOW TO USE IT

When removing an entity from a Vercel Flags project, run `vercel flags entities rm <entity-kind>` and confirm the removal; the CLI checks references across active and archived flags and segments.

vercel flags entities rm <entity-kind>
vercel flags entities rm <entity-kind> --yes

WHY THIS HELPS

Remove an entity from a Flags project after checking whether active or archived flags and segments reference it.

REQUIREMENTS AND LIMITATIONS

  • Version: 59.14.0
  • <entity-kind> (required): Entity kind to remove; for example, `device`.
  • --yes: Skip the confirmation prompt.
  • Prerequisite: Authenticate with Vercel before accessing resources or performing administrative tasks.
  • Prerequisite: The CLI uses the linked project by default. Entity deletion fails while flags or segments reference the entity; remove every reference first.
  • Removal uses confirmation and checks references across active and archived flags and segments.
  • Docs conflict: The current CLI docs say deletion is blocked while flags or segments reference the entity and do not specify active versus archived references. The 59.14.0 release note says the new command performs reference checks across active and archived flags and segments; the docs may describe newer behavior.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card