# Update a Service Configuration **PATCH /groups/{groupId}/apps/{appId}/services/{serviceId}/config** Update a [Data Source](https://www.mongodb.com/ko-kr/docs/atlas/app-services/mongodb/) or [Third-Party Service [Deprecated]](https://www.mongodb.com/ko-kr/docs/atlas/app-services/reference/services/) configuration. ## 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. - **serviceId** (string) The unique `_id` value of a service. ### Body: application/json (object) - **clusterName** (string) The cluster name of the data source within. The name may be at most 64 characters long and must only contain ASCII letters, numbers, underscores, and hyphens. - **readPreference** (string) The [read preference](https://www.mongodb.com/ko-kr/docs/atlas/app-services/mongodb/read-preference/) mode for read requests to the data source. - **readPreferenceTagSets** (array[string]) Target read operations to specific members of a replica set. - **wireProtocolEnabled** (boolean) If true, clients may [connect to the app over the MongoDB Wire Protocol [Deprecated]](https://www.mongodb.com/ko-kr/docs/atlas/app-services/mongodb/wire-protocol/#connect-over-the-wire-protocol). ## Responses ### 204 Successfully updated. [Powered by Bump.sh](https://bump.sh)