Atlas 项目/组 ID。
您的应用程序的 ObjectID。App Services API 项目和应用程序 ID 部分演示了如何查找此值。
函数的唯一 _id 值。
curl \
--request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/functions/{functionId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"can_evaluate": {},
"name": "string",
"private": true,
"source": "string",
"run_as_system": true,
"run_as_user_id": "string",
"run_as_user_id_script_source": "string"
}