MonitorsImap pop monitors
Update IMAP/POP Monitor
Updates an IMAP/POP monitor and/or changes its status.
PATCH /api/imap-pop-monitors/:imapPopMonitorPublicId
Authentication
Requires a valid session.
- Header:
Authorization: Bearer <token>
Parameters
imapPopMonitorPublicId(Path, required): IMAP/POP monitor public UUID.
Request Body
status(optional)- Allowed:
active,maintenance,disabled,paused,inactive - Note:
paused/inactiveare normalized todisabled. name,hostname,port,checkInterval,timeoutSeconds(optional)allowedCheckCountryCodes(optional)- Normalized to upper-case and de-duplicated.
imapPopConfig(optional)- Alias for the stored
configJSON. config(optional)- Alternative way to update the same stored
configJSON.
Note: Read-only users may only change status (and sending any other fields will result in 403).
{ "status": "active" }Example updating config:
{
"imapPopConfig": {
"protocol": "pop3",
"tls": true,
"user": "monitor@example.com",
"password": "password"
}
}Response
{
"id": 500,
"organizationId": 1,
"customerId": 10,
"name": "Mailbox Access",
"hostname": "mail.example.com",
"port": 993,
"checkInterval": 30,
"timeoutSeconds": 30,
"status": "active",
"notificationPhoneNumber": null,
"notificationEmail": null,
"lastCheckedAt": null,
"createdAt": "2026-02-26T12:00:00.000Z",
"updatedAt": "2026-02-26T12:05:00.000Z",
"config": { "protocol": "pop3", "tls": true, "user": "monitor@example.com", "password": "password" },
"imapPopConfig": { "protocol": "pop3", "tls": true, "user": "monitor@example.com", "password": "password" }
}Errors
400Invalid request body, invalid status, or invalid hostname401Unauthorized403Forbidden (e.g.readonlyor global supporter)404IMAP/POP monitor not found