# Update user custom data **PATCH /api/users/{userId}/custom-data** Update custom data for the given user ID. This method performs a partial update of the custom data object. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **userId** (string) The unique identifier of the user. ## Body parameters Content-type: application/json - **customData** (object) Partial custom data object to update for the given user ID. ## Responses ### 200: Updated custom data in JSON for the given user ID. #### Body Parameters: application/json (object) object ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: Not Found [Powered by Bump.sh](https://bump.sh)