DELETE
/inboxes/{inbox_id}/labels/{label_id}Remove a label from an inbox
Deletes a label from an inbox and removes it from every thread that carries it. Use this endpoint when you want to remove the label itself as well as its associations with threads.
inbox_idstringrequired
The UUID of the inbox containing the label. An email address is not accepted.
label_idstringrequired
The UUID of the label to remove.
200Returns an object containing the removed label's ID and a `deleted` value indicating whether the label was deleted.
objectstringrequired
Type of the response object.
idstringrequired
The ID of the removed label.
deletedbooleanrequired
Indicates whether the label was deleted.
Error handling
The inbox_id path parameter and label_id path parameter must be UUIDs for the target inbox and label.