Modify an IP address or CIDR block in the Access List

PATCH /groups/{groupId}/apps/{appId}/security/access_list/{ipId}

Modify an IP address or CIDR block in the Access List of your App Services app

Path parameters

application/json

Body Required

The updated value of the IP Access List entry.

  • address string Required

    The modified value of the IP address or CIDR block.

  • comment string

    An optional comment included in the Access List entry.

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
    • _id string(ObjectID)

      ObjectID

    • address string
    • ip string(net.IP)

      net.IP

    • network string(net.IPNet)

      net.IPNet

    • comment string
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"
}