sdkProvider-backed

Update email account

pipeline.updateEmailAccount

Update campaign sending, warmup, daily cap, or tags for a native email inbox.

Parameters

workspaceIdrequired
string
No description.
accountIdrequired
string
No description.
campaignEnabled
boolean
No description.
warmupEnabled
boolean
No description.
dailyLimit
number
No description.
tags
string[]
No description.

Example

TypeScripttypescript
await pipeline.updateEmailAccount({
"workspaceId": "00000000-0000-4000-8000-000000000000",
"accountId": "00000000-0000-4000-8000-000000000000",
"dailyLimit": 20
})

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"account": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"email": {
"type": "string"
},
"state": {
"type": "string"
}
}
}
},
"required": [
"account"
]
}

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline