Skip to main content
DELETE
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

inbox_id
string<uuid>
required

Email inbox UUID.

message_id
string<uuid>
required

Inbound message UUID.

Body

application/json

Labels to add or remove. Both operations are idempotent set operations, so a retried request converges instead of failing.

labels
string[]
required

One or more labels. Each label is a freeform, case-sensitive string of at most 255 characters; a message or thread may carry at most 50 labels. The telnyx: prefix is a reserved system namespace and is rejected on customer writes.

Required array length: 1 - 50 elements
Required string length: 1 - 255

Response

The updated message, including its current label set.

data
object
required