Set Null Type Schema Validation Setting
Enable or disable null type schema validation.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
PUT
/groups/{groupId}/apps/{appId}/validation_settings/null_type_schema_validation
curl \
--request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/validation_settings/null_type_schema_validation' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"enabled":true}'
Request examples
{
"enabled": true
}