# Enable/Disable Hosting **PATCH /groups/{groupId}/apps/{appId}/hosting/config** Enable or disable App Services Hosting for your app. Changes to hosting can take up to 15 minutes to take effect. This endpoint does not notify you when the changes have taken effect, only that the change operation was successfully received by the server. You can see if the hosting enablement/disablement is complete by calling the [Get Hosting Configuration](#operation/adminGetHostingConfig) endpoint. ## 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) - **enabled** (boolean) Set to `true` to enable App Services Hosting. Set to `false` to disable App Services Hosting. ## Responses ### 204 Successfully enabled/disabled App Services Hosting. [Powered by Bump.sh](https://bump.sh)