# Set a thread's tags **PATCH /local-emails/{caseId}/thread/{threadId}/tags** Replaces the thread's tags with the given list and returns the thread. On a case shared with opposing counsel, the response shows only the caller's own tags. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) - **threadId** (string) ### Body: application/json (object) - **tags** (array[string]) Tag ids or names. Replaces the thread tags with this list. Empty array removes all thread tags. - **autoTagEmails** (boolean) When true, additively tag every email of this thread (emails are never removed from; empty tags leaves emails untouched). ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)