Deleting labels | ION Factory OS
The manual for the New ION Experience
Check it out! Link
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Overall
Deleting a label will remove it from all places with ION. See below for steps on how to delete it via the API (not available in the UI yet).
Deleting labels in ION
Introduction
Steps
- Query for the label
Make sure to replace the values between the angled brackets.
{
labels(filters: {value: {eq: <your label here>}}) {
edges {
node {
id
_etag
value
}
}
}
}
- Delete the label
mutation DeleteLabel($id: ID!, $etag: String!) {
deleteLabel(id: $id, etag: $etag) {
id
}
}
with the below variables:
{
"id": <id from previous step>,
"etag": <etag from previous step>
}
Last updated 15 days ago