Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
You can remove labels from a thread with a call to removeLabels. Label IDs for this call can be retrieved by fetching a thread with the API. This operation requires the following permissions:
  • label:delete
Mutation
mutation removeLabels($input: RemoveLabelsInput!) {
  removeLabels(input: $input) {
    error {
      message
      type
      code
    }
  }
}
Variables
{
  "input": {
    "labelIds": ["l_01HB8BTNTZ58730MX8H5VMKFD5", "l_01HB8BTNKSCF1FK5ETFVRSDC6G"]
  }
}