ZITADEL Docs
APIsCore ResourcesV1Instance Objects

UpdateSMTPConfig

Deprecated: Update SMTP Configuration

Update the SMTP configuration, be aware that this will be activated as soon as it is saved. So the users will get notifications from the newly configured SMTP.

Deprecated: please move to the new endpoint UpdateEmailProviderSMTP.

PUT
/smtp/{id}

Path Parameters

id*string

Request Body

application/json

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

Response Body

application/json

application/json

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

Was this page helpful?