# Create a new label Creates a new label with the provided attributes. Labels can be regular labels or groups. Endpoint: POST /rest/v2/labels Version: v2 ## Request fields (application/json): - `label` (object, required) - `label.name` (string, required) Label name (unique within tenant) - `label.parent_uuid` (string) UUID of parent label (parent must be a group) - `label.is_group` (boolean) Whether this label is a group ## Response 200 fields (*/*): - `uuid` (string, required) Uuid - `name` (string, required) Name - `is_group` (boolean, required) Is group - `parent_uuid` (string) Parent uuid - `labelings_count` (number, required) Labelings count ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 422 fields ## Response 429 fields ## Response 500 fields