Mailboxes

Delete a mailbox label

Deletes a label and removes it from every thread that carries it. Use this endpoint to delete a mailbox label through the Samva email API.

DELETE
/v1/mailboxes/{id}/labels/{labelId}

Deletes a label and removes it from every thread that carries it.

x-api-key<token>

In: header

Path Parameters

id*string
Match^mbx_[0-9a-hjkmnp-tv-z]{16,24}$
labelId*string
Match^label_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/mailboxes/string/labels/string"
{  "success": true}

Related documentation