Skip to main content

Edit Labels

Editing labels after they have been created involves the following steps:
  1. Find the label instance you want to edit.
  2. Edit the value for the label.
  3. Save the changes.
The script below shows how to update the location of an object’s bounding box, and attribute values. Ensure you substitute the following values:
  • <private_key_path> with the full path to your private key.
  • <project_hash> with the name of the project you want to update labels in.
  • <file_name> with the name of the file / data unit you want to edit labels for.
  • <object_name> with the name of the object.
  • <attribute_name> with the name of the attribute.
  • <option_name> with the name of the radio button option of the attribute.

Delete Labels/Classifications

The following code deletes specific labels/classifications from data units.

Delete All Labels/Classifications

The following code deletes all labels/classifications from the specified data unit.

Delete All Specific Labels/Classifications

The following code removes all labels/classifications of a specific type from data units.