---
title: "Changes to generate credentials to connet mail server with SMTP"
method: POST
path: "/api/v1/mails/{mailServerID}/smtp-credentials"
---

# Changes to generate credentials to connet mail server with SMTP

`POST /api/v1/mails/{mailServerID}/smtp-credentials`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 14 revisions.

- **2023-10-06** `6ba885651c6f` — 2 breaking, 2 info
- **2023-10-04** `c63802bd8a38` — 1 info

## Changes

- **2023-10-06** `6ba885651c6f` — 2 breaking, 2 info
  - removed the media type `*/*` from the request body
  - removed the media type `*/*` for the response with the status `201`
  - added the media type `application/json` to the request body
  - added the media type `application/json` for the response with the status `201`
- **2023-10-04** `c63802bd8a38` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/docs/api/v1/mails/:mailServerID/smtp-credentials/post.md) · [API](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion.md) · [Page](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/changes/api/v1/mails/:mailServerID/smtp-credentials/post)
