rules

Create a rule

Create a data access rule.

post/groups/{groupId}/apps/{appId}/services/{serviceId}/rules

Request

  • Base URL
    https://services.cloud.mongodb.com/api/admin/v3.0
  • URL
    https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/services/{serviceId}/rules
  • Auth
    HTTP bearer

Request body

OR

Response

Successfully created.

_idstring
namestring

Changes