Update domain record
documentedUpdate a DNS record.
PUT /v2/domains/{domain_name}/records/{record_id}Domainsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.digitalocean.com/v2/domains/{{$domain_name}}/records/{{$record_id}}" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"type":"{{$type}}","name":"{{$name}}","data":"{{$data}}","priority":{{$priority}},"port":{{$port}},"ttl":{{$ttl}},"weight":{{$weight}},"flags":{{$flags}},"tag":"{{$tag}}"}'