---
title: "Changes to Create a new Function"
method: POST
path: "/groups/{groupId}/apps/{appId}/functions"
---

# Changes to Create a new Function

`POST /groups/{groupId}/apps/{appId}/functions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 50 revisions.

- **2024-02-20** (v3) `e2240dd053bd`: 1 info
- **2023-09-05** (v3) `0d26ece81dcc`: 2 info

## Changes

- **2024-02-20** (v3) `e2240dd053bd`: 1 info
  - the request property `run_as_system` became optional
- **2023-09-05** (v3) `0d26ece81dcc`: 2 info
  - added the new optional request property `run_as_user_id`
  - added the new optional request property `run_as_user_id_script_source`

---

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