# Toggle Non-VPC Requests **POST /groups/{groupId}/apps/{appId}/security/allow_non_vpc_client_requests** For Apps with Private Endpoints enabled, toggle whether or not the App processes requests that originate from outside of the VPC. ## Servers - The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.) ## Authentication methods - Token auth ## Parameters ### Path parameters - **groupId** (string) An Atlas [Project/Group ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/). - **appId** (string) The ObjectID of your application. [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this value. ### Body: application/json (object) - **allow_non_vpc_client_requests** (boolean) Set to `true` to allow non-VPC requests. Set to `false` to restrict non-VPC requests. ## Responses ### 204 Successfully enabled/disabled non-VPC access. [Powered by Bump.sh](https://bump.sh)