Hi there, my api for adding dns returns unauthorized
https://api.netlify.com/api/v1/dns_zones/646e1f0ecf66b5028629866d/dns_records
curl --location ‘https://api.netlify.com/api/v1/dns_zones/646e1f0ecf66b5028629866d/dns_records’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer {{mybearer}}’
–data ‘{
“type”: “NETLIFY”,
“hostname”: “newDomain.deoapp.id”,
“value”: “deoapp.netlify.app”,
“ttl”: 3600,
“priority”: 0,
“weight”: 0,
“port”: 0,
“flag”: 0,
“tag”: “null”
}’
returns
{
“code”: 401,
“message”: “Access Denied”
}
but when i try to list my sites returns perfectly
https://api.netlify.com/api/v1/sites/ffa0ad68-6720-400f-95fe-5601be7c63f1
OR
getting dns record also returns perfectly
https://api.netlify.com/api/v1/dns_zones/646e1f0ecf66b5028629866d/dns_records
I would like to know your pricing for unlimited custom domains and sub domains too please.
regard,
Faizal