---
title: "Changes to Create default roles and filters"
method: POST
path: "/groups/{groupId}/apps/{appId}/services/{serviceId}/default_rule"
---

# Changes to Create default roles and filters

`POST /groups/{groupId}/apps/{appId}/services/{serviceId}/default_rule`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 50 revisions.

- **2024-02-20** (v3) `e2240dd053bd` — 3 breaking, 14 warning, 1 info

## Changes

- **2024-02-20** (v3) `e2240dd053bd` — 3 breaking, 14 warning, 1 info
  - added `#/components/schemas/SyncDocumentFiltersPermissions, subschema #2` to the `roles/items/` request property `allOf` list
  - the `roles/items/` request property type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `201`
  - removed the request property `_id`
  - removed the request property `filters/items/_id`
  - removed the request property `roles/items/_id`
  - removed the request property `roles/items/additional_fields`
  - removed the request property `roles/items/apply_when`
  - removed the request property `roles/items/delete`
  - removed the request property `roles/items/fields`
  - removed the request property `roles/items/insert`
  - removed the request property `roles/items/name`
  - removed the request property `roles/items/search`
  - removed the request property `roles/items/write`
  - removed the optional property `_id` from the response with the `201` status
  - removed the optional property `filters` from the response with the `201` status
  - removed the optional property `roles` from the response with the `201` status
  - added `#/components/schemas/DefaultRuleConstructor, subschema #1` to the response body `allOf` list for the response status `201`

---

[Operation](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/docs/groups/:groupId/apps/:appId/services/:serviceId/default_rule/post.md) · [API](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [Page](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/changes/groups/:groupId/apps/:appId/services/:serviceId/default_rule/post)
