admin-email-classifier

Update Label Endpoint

Partial update of a labeled email's label and/or reviewer notes. Only fields explicitly present in the request body are touched. 403 if the email is not from the caller's inbox.

patch/admin/email-classifier/labels/{gmail_message_id}

Path parameters

gmail_message_idstring required

Request body

labelboolean nullable
notesstring nullable

Response

Successful Response

gmail_message_idstring required
labelboolean required
original_labelboolean nullable required
reviewed_atstring date-time nullable required
reviewer_notesstring nullable required

Changes

No recorded changes to this endpoint across all 1 revision of this API.