Update IMAP Config
PUT/v1/imapbasic/update
This endpoint updates an IMAP config and verifies the IMAP config
Request
- application/json
Body
required
IMAP Payload
config
object
required
host stringrequired
password stringrequired
port integerrequired
secure stringrequired
username stringrequired
config_type stringrequired
Possible values: [imap]
connection_type stringrequired
Possible values: [basic, oauth]
email stringrequired
mailer_id stringrequired
name stringrequired
webhook
object
required
event stringrequired
Possible values: [BASIC_IMAP]
headers
object
property name* string
method stringrequired
Possible values: [GET, POST, PUT, DELETE, PATCH]
webhook_url stringrequired
Responses
- 200
- 400
- 409
IMAP Config verified and updated
- application/json
- Schema
- Example (from schema)
Schema
mailer_id string
success boolean
{
"mailer_id": "01JC3BBW8S9YGX2VNKG5MD7BTA",
"success": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Conflict: invalid config
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...