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

# Changes to Update default roles and filters

`PUT /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` — 2 breaking, 3 warning

## Changes

- **2024-02-20** (v3) `e2240dd053bd` — 2 breaking, 3 warning
  - added `#/components/schemas/DefaultRuleConstructor, subschema #1` to the `allOf[#/components/schemas/DefaultRule]/` request property `allOf` list
  - the `allOf[#/components/schemas/DefaultRule]/` request property type changed from `object` to no type
  - removed the request property `allOf[#/components/schemas/DefaultRule]/_id`
  - removed the request property `allOf[#/components/schemas/DefaultRule]/filters`
  - removed the request property `allOf[#/components/schemas/DefaultRule]/roles`

---

[Operation](https://skmtc.dev/mongodb/apis/mongodb-atlas-app-services-admin-api/docs/groups/:groupId/apps/:appId/services/:serviceId/default_rule/put.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/put)
