Skip to main content
PUT
The thread ends up with exactly the labels given, in one atomic change. Labels on the thread that are not listed are taken off, and the labels themselves are kept. If any label ID is not found, the request returns a 404 and nothing changes.

Path Parameters

Body Parameters

string[]
required
The IDs of the labels the thread should carry. Up to 100 IDs, each belonging to the inbox. Pass an empty array to take every label off the thread.

Response Fields

string
Always list.
array
Every label on the thread after the change.