Skip to main content
PUT
/
templates
/
{id}
Update Template
curl --request PUT \
  --url https://api.deliverykey.com/v1/templates/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "mail.contoso.com",
  "active": true,
  "track_opens": false,
  "track_clicks": false,
  "created_at": "2022-10-12T18:57:23.000000Z"
}
'
{
  "data": {
    "name": "auto reply template",
    "id": "4c37416c-8388-4426-9f74-29725b06a8de",
    "created_at": "2022-10-12T18:57:23.000000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
domain
string
required
Example:

"mail.contoso.com"

active
boolean
track_opens
boolean
default:false
track_clicks
boolean
default:false
created_at
string<date-time>

The date the subscriber was created

Example:

"2022-10-12T18:57:23.000000Z"

Response

OK

data
object