Mutation
createLabels
Create labels in the workspace creator label taxonomy; a name already present (ignoring case and surrounding whitespace) is returned unchanged.
Arguments
- labelNames [String!]! required
- Label names to create. At least 1 and at most 50, each at most 100 characters. Matching ignores case and surrounding whitespace, so a name that already exists is returned with its stored spelling and nothing is created.
Returns
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- labels [Label!]!
- The stored spelling of every submitted name, in submission order. Names that differ only by case or surrounding whitespace collapse to one entry. Empty when userErrors is non-empty.
- deleting Boolean!
- True while a workspace-wide deletion of this label is in progress. The label leaves this list once the deletion finishes; do not assign it, and do not recreate it until it disappears from this list.
- name String!
- The label as stored for this workspace (the spelling a customer typed). Pass this spelling back as-is; matching ignores case and surrounding whitespace.
- userErrors [UserError!]!
- Errors that refused the whole request: an empty or oversized list, a blank or over-long name, or a label being deleted. Empty on success.
- field [String!]
- Path to the input field that caused the error.
- message String!
- The error message.