Chilkat Online Tools

Unicode C++ / MongoDB Atlas / Get Configuration for Encryption at Rest using Customer Key Management for One Project

Back to Collection Items

void ChilkatSample(void)
    {
    http.put_DigestAuth(true);    http.put_Login(L"username");    http.put_Password(L"password");    json.UpdateBool(L"awsKms.enabled",false);    json.EmitSb(sbRequestBody);
    }

Curl Command

curl -X GET
	--digest -u 'username:password'
	-d '{
    "awsKms": {
        "enabled": false
    }
}'
https://domain.com/api/atlas/{{version}}/groups/{{ProjectID}}/encryptionAtRest

Postman Collection Item JSON

{
  "name": "Get Configuration for Encryption at Rest using Customer Key Management for One Project",
  "protocolProfileBehavior": {
    "disableBodyPruning": true
  },
  "request": {
    "method": "GET",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"awsKms\": {\n        \"enabled\": false\n    }\n}",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{base_url}}/api/atlas/{{version}}/groups/{{ProjectID}}/encryptionAtRest",
      "host": [
        "{{base_url}}"
      ],
      "path": [
        "api",
        "atlas",
        "{{version}}",
        "groups",
        "{{ProjectID}}",
        "encryptionAtRest"
      ]
    },
    "description": "https://docs.atlas.mongodb.com/reference/api/get-configuration-encryptionatrest/"
  },
  "response": [
  ]
}