Unicode C++ / MongoDB Atlas / Update Custom DNS Configuration for Atlas Clusters on AWS
Back to Collection Items
void ChilkatSample(void)
{
http.put_DigestAuth(true); http.put_Login(L"username"); http.put_Password(L"password"); json.UpdateBool(L"enabled",true); json.EmitSb(sbRequestBody);
}
Curl Command
curl -X PATCH
--digest -u 'username:password'
-d '{
"enabled": true
}'
https://domain.com/api/atlas/{{version}}/groups/{{ProjectID}}/awsCustomDNS
Postman Collection Item JSON
{
"name": "Update Custom DNS Configuration for Atlas Clusters on AWS",
"request": {
"method": "PATCH",
"header": [
],
"body": {
"mode": "raw",
"raw": "{\n \"enabled\": true\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/api/atlas/{{version}}/groups/{{ProjectID}}/awsCustomDNS",
"host": [
"{{base_url}}"
],
"path": [
"api",
"atlas",
"{{version}}",
"groups",
"{{ProjectID}}",
"awsCustomDNS"
]
},
"description": "https://docs.atlas.mongodb.com/reference/api/aws-custom-dns-update/"
},
"response": [
]
}