ZITADEL Docs
APIsCore ResourcesV1Instance Objects

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

curl -X POST "https://loading/smtp" \  -H "Content-Type: application/json" \  -d '{    "senderAddress": "string",    "senderName": "string",    "host": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  },
  "id": "string"
}

Was this page helpful?