Browse the help center

Update an existing label

Updates the label identified by labelId with the provided JSON properties.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/label/{labelId}/update.do

Updates the label identified by labelId with the provided JSON properties. The request body may include 'value', 'defaultLabel', 'defaultLabelObjectType', and 'defaultLabelPlacementTypes'. If the label name is changed, uniqueness is validated against existing labels. Every property not sent keeps its stored value. Requires the LABELS_MANAGEMENT permission.

Path Params

labelId integer required

Unique numeric identifier of the label to update

100

Body

A JSON body. An example, built from the field definitions:

{
  "id": "100",
  "value": "Sports",
  "defaultLabel": "false",
  "defaultLabelObjectType": "1"
}

Responses

200

Label updated successfully

400

Invalid value, object type or placement type ids (per-field errors), or a label with that value already exists

401

Authentication error

403

No access to labels management

404

Label not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.