remove_role
Delete a role from the profile and every variant. Refuses if bullets exist unless with_bullets is true; ask first, as it cannot be undone.
Instructions
Delete a role from the profile and from every variant. A role that still has bullets
is refused unless with_bullets is true, which deletes them too. To hide a role from one CV, edit
that variant with save_variant instead. Ask the person first; it cannot be undone. Returns what was
removed and variants_updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Role id from profile.yaml. | |
| profile | No | Path of the profile folder. Leave it out to use the server's default (--profile or HONEST_CV_PROFILE). | |
| with_bullets | No | Also delete the role's bullets. Only if the person agreed to lose them. |