Access Denined returns on add new DNS

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

Hi, can you please share your site ID or email so I can look into your account and see what’s going on?

hi, site id is ffa0ad68-6720-400f-95fe-5601be7c63f1

Hi @faizaledrus,

This has been answered in the helpdesk.