Smtp connections API

get specific entry

GET /api/rest/admin/system/smtp-connections/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzksInN1YiI6MjE1fQ.rL_00fr3SK2ZM7DBavJWLt6MYF_cxOU6-ewU21qZ65A
Host: example.org
Cookie: 

Route

GET /api/rest/admin/system/smtp-connections/3

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"cb8bc257e1cb11602ce951d43e142575"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: c896d9fd-1eb0-4a2f-bdf1-dc849d1b9ca3
X-Runtime: 0.011214
Content-Length: 276

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "smtp-connections",
    "links": {
      "self": "http://example.org/api/rest/admin/system/smtp-connections/3"
    },
    "attributes": {
      "name": "smtp_connection3",
      "host": "host",
      "port": 25,
      "from-address": "address@email.com",
      "auth-user": null,
      "auth-password": null,
      "global": true
    }
  }
}