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.eyJleHAiOjE3MzE1Nzg3NjUsInN1YiI6MjM1fQ.d1T3frMBOq7DUlmPTFzEb8i16VefoZk2KklsHnRTgt8
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: 77b1e951-686c-40cb-9ba5-457c8b11f517
X-Runtime: 0.012960
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
    }
  }
}