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

Which if successful will console log null.