cURL
curl --request PUT \ --url https://api.deliverykey.com/v1/domains/{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": { "domain": "mail.contoso.com", "id": "27c6e6e1-0025-4c6e-843f-b2872985a28c", "active": true, "track_opens": false, "track_clicks": false, "created_at": "2022-10-12T18:57:23.000000Z", "emails_sent": 123, "emails_received": 123 } }
Update an existing Domain
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"mail.contoso.com"
The date the subscriber was created
"2022-10-12T18:57:23.000000Z"
OK
Show child attributes
UUID of the domain in the system
"27c6e6e1-0025-4c6e-843f-b2872985a28c"