Skip to content

Update a sending identity

Requires EDITOR. channelId is immutable. Cannot directly un-default (409) — switch default by promoting another identity. Pausing the sole/default identity may 409.

projectId
required
string

Tenant project id (row-level isolation on every query).

id
required
string

Resource id.

Media typeapplication/json

Partial update; channelId is immutable and not accepted here.

object
label
string
>= 1 characters <= 120 characters
fromAddress
string format: email
fromName
string | null
<= 120 characters
replyToAddress
string | null format: email
isDefault
boolean
status
string
Allowed values: active paused

Updated identity (+ optional notices).

Media typeapplication/json
object
identity
object
id
string
projectId
string
channelId
string
label
string
fromAddress
string format: email
fromName
string | null
replyToAddress
string | null format: email
isDefault
boolean
status
string
Allowed values: active paused
createdAt
string | null format: date-time
updatedAt
string | null format: date-time
domainWarning
string
aliyunNotice
string

Validation error, or default/paused constraint violation.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Not authenticated (no valid session/principal).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Authenticated but lacks the required project role.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Resource not found (or belongs to another project — indistinguishable).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Cannot un-default directly, pause last default, or duplicate from-address.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}