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.eyJzdWIiOjI0MywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAxMX0._aMeMa3zzc9_4bl-t63LELFO-IGA4_7mbX_iqKqU8TE
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: 4e62a99c-2ab5-4236-9194-802e1852d1de
x-runtime: 0.005162
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
    }
  }
}