API referenceEmail accounts
PATCH
/email/api/v1/accounts/{id}

The proxy its IMAP and SMTP connections go through (a public host only); null clears it.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

A mailbox (em_…).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/email/api/v1/accounts/em_gX2kP9qL4mT7vB1nR8sW3yZ" \  -H "Content-Type: application/json" \  -d '{    "proxy": {      "host": "string",      "port": 0    }  }'
{  "object": "AccountPatched",  "account_id": "string"}