Labels
Update a label
Rename a label or change its color.
PUT
Update a label
Needs
labels:update, and a role in the workspace that can edit labels: owners, managers, content managers and content creators can. See Permissions.name and color, even to change one of them: this isn’t a partial update, and a field left out is refused with 422. Posts that have the label keep it, with its new name and color.
Labels are on paid plans. When the workspace owner is on Free, nothing changes and the answer is 403 with error: plan_limit_reached and limit: labels. The role and the plan are checked before the body, so on Free a bad body still gets the 403.
Errors
Related
- Get a label: the label as it is now.
- Delete a label: remove it.
Authorizations
Body
application/json
Response
The label after the change.
A label to tag posts with.
The label's workspace, as List workspaces gives it, with no accounts or brand_voice.