Skip to Content
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
/admin/v1/smtp

Request Body

application/json
  1. body
senderAddress*sender_address
senderName*sender_name
tls?tls
host*host
user?user
password?password
replyToAddress?reply_to_address
description?description

Response Body

Success

application/json
  1. response
details?
id?id
Example Request
curl -X POST 'https://example.com/admin/v1/smtp' \  -H 'Content-Type: application/json' \  -d '{  "senderAddress": "string",  "senderName": "string",  "host": "string"}'
Example Response200
{  "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?