Modify an IP address or CIDR block in the Access List
Modify an IP address or CIDR block in the Access List of your App Services app
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.
-
The IP address entry denoted by
ip_id
with the information given in the request body
PATCH
/groups/{groupId}/apps/{appId}/security/access_list/{ipId}
curl \
--request PATCH 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/access_list/{ipId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"address":"string","comment":"string"}'
Request examples
{
"address": "string",
"comment": "string"
}
Response examples (201)
{
"_id": "string",
"address": "string",
"ip": "string",
"network": "string",
"comment": "string"
}