API referenceEmail Providers
Disconnect an email provider
Removes the webhook from the account and forgets the key. It stays listed, with the messages sent through it.
POST
Removes the webhook from the account and forgets the key. It stays listed, with the messages sent through it.
id*stringFormat
uuididempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
Length
1 <= length <= 255OK
application/json- response
id*stringFormat
uuidkind*"resend"Value in
"resend"name*stringstatus*stringValue in
"connected""needs_attention""disconnected"attentionReason*|Value in
"key_rejected""quota_reached""webhook_missing"nullkeyHint*string|nullrequestsPerSecond*integerconnectedAt*stringFormat
date-timecheckedAt*|Format
date-timedisconnectedAt*|Format
date-timecurl -X POST 'https://api.postforge.dev/v1/email-providers/497f6eca-6276-4993-bfeb-53cbbbba6f08/disconnect'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "resend", "name": "string", "status": "connected", "attentionReason": "key_rejected", "keyHint": "string", "requestsPerSecond": 0, "connectedAt": "2019-08-24T14:15:22Z", "checkedAt": "2019-08-24T14:15:22Z", "disconnectedAt": "2019-08-24T14:15:22Z"}