Smtp connections API

get specific entry

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIzNiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3Mn0.qd4QBAPHeby9L9xDISnIanCdzJ805tvi6TSziE4Kcfs
Host: example.org
Cookie: 

Route

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

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"3e857625e2589cf1e4e518ae441c9a6f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9e983129-2ad4-4149-9785-38fae074e421
x-runtime: 0.005839
content-length: 269

Status

200 OK

Body

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