rules

Create default roles and filters

Changed on

Create default roles and filters for a data source.

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

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}/default_rule
  • Auth
    HTTP bearer

Request body

Response

Created default rule.

_idstring

The default rule's unique ObjectId identifier.

Changes

    • breaking

      added subschema #2 to the / request property allOf list

    • breaking

      the / request property type changed from object to no type

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the request property

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the request property //

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added subschema #1 to the response body allOf list for the response status