update values
PUT /api/rest/admin/system/smtp-connections/:id
Parameters
Name |
Description |
data[type]
|
Resource type (smtp-connections)
|
data[id]
|
Smtp connection ID
|
data[attributes][name]
|
Name
|
Request
Headers
Route
PUT /api/rest/admin/system/smtp-connections/5
Body
{"data":{"type":"smtp-connections","id":5,"attributes":{"name":"name"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "5",
"type": "smtp-connections",
"links": {
"self": "http://example.org/api/rest/admin/system/smtp-connections/5"
},
"attributes": {
"name": "name",
"host": "host",
"port": 25,
"from-address": "address@email.com",
"auth-user": null,
"auth-password": null,
"global": true
}
}
}