Get the Custom User Data Configuration Deprecated
Get the Custom User Data configuration for an Atlas App Services App.
Path parameters
-
An Atlas Project/Group ID.
-
The ObjectID of your application. The App Services API Project and Application IDs section demonstrates how to find this value.
GET /groups/{groupId}/apps/{appId}/custom_user_data
curl \ --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/custom_user_data' \ --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{ "database_name": "myapp", "collection_name": "users", "user_id_field": "user_account_id", "enabled": true, "mongo_service_id": "63c060ed32043ef4c93c2a9c", "on_user_creation_function_id": "63c055d8019a6ab879f661d6" }