removeLabels. Label IDs for this call can be retrieved by fetching a thread with the API.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
label:delete
Mutation
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove labels from a thread by label ID.
removeLabels. Label IDs for this call can be retrieved by fetching a thread with the API.
label:deletemutation removeLabels($input: RemoveLabelsInput!) {
removeLabels(input: $input) {
error {
message
type
code
}
}
}
{
"input": {
"labelIds": ["l_01HB8BTNTZ58730MX8H5VMKFD5", "l_01HB8BTNKSCF1FK5ETFVRSDC6G"]
}
}
Was this page helpful?
