Skip to main content

Update Mailbox Config

Updates the operational configuration settings for a mailbox, such as processing options and delivery behavior.

Endpoint

POST /v2/mailboxes/update-config

Request Body

FieldTypeRequiredConstraintsDescription
mailboxIdintegerYesID of the mailbox to configure

Additional configuration fields are mailbox-specific. Refer to the live Swagger UI for the full field list applicable to your account tier.

{
"mailboxId": 5001
}

Response

Returns a success indicator confirming the configuration was saved.

{
"success": true,
"data": null,
"errorCode": null,
"message": "Mailbox configuration updated."
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/mailboxes/update-config" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "mailboxId": 5001 }'

See Also