wp term update <taxonomy> <term>

Updates an existing term

Arguments

NameDescription
taxonomyTaxonomy of the term to update
termID or slug for the term to update

Options

NameDescription
--by <field>Explicitly handle the term value as a slug or id
--name <name>A new name for the term
--slug <slug>A new slug for the term
--description <description>A new description for the term
--parent <term-id>A new parent for the term