Logo
Akamai APIs API Documentation

Modify record set for a change list

POST https://{{host}}/config-dns/v2/changelists/:zone/recordsets/add-change

Adds a record set change to this change list. Each change is an operation that affects a single record set: ADD, EDIT, or DELETE.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://undefined/config-dns/v2/changelists/:zone/recordsets/add-change?accountSwitchKey=' -H 'Content-Type: application/json' -d '{"name":"ftp.example.com","op":"ADD","rdata":["192.0.2.72"],"ttl":100,"type":"A"}'

ENDPOINTS