Update Label

Updates a label.

NOTE: Only users with owner or admin roles can create, update and delete a label.

These are the fields that are updatable and each are optional:

Body: raw JSON

namedescription
name[string] Display name
description[string] A brief description
color[string] Display color
sort[int] Swaps sort order of a label with the value given. Should be an existing sort value.
allowPublish[boolean] Determines whether an item can be published or not
addPermissionRoles[array] Role ZUIDs that have the permission to attach this label to an item
removePermissionRoles[array] Role ZUIDs that have the permission to remove this label from an item
Language
Credentials
Header
URL