ZITADEL Docs
APIsCore ResourcesV1Instance Objects

AddSMTPConfig

Deprecated: Add SMTP Configuration

Add a new SMTP configuration if nothing is set yet.

Deprecated: please move to the new endpoint AddEmailProviderSMTP.

POST
/smtp

Request Body

application/json

senderAddress*string
senderName*string
tls?boolean
host*string
user?string
password?string
replyToAddress?string
description?string
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/smtp" \  -H "Content-Type: application/json" \  -d '{    "senderAddress": "string",    "senderName": "string",    "host": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  },
  "id": "string"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?