Docs : API : Update User
The Update User API lets you modify the protectedProfile property of any of your users by providing the ID of a user from your account. The user ID can be obtained from the Admin panel, or from the signUp, signIn, or init methods in the Userbase SDK.
Parameters
-
USER_ID - The user ID to modify.
-
ACCESS_TOKEN - Your access token.
-
Request Body - The updated user metadata. Right now, only the protectedProfile property can be modified by this API. The protected profile can only be modified by the Admin API, so it can be used for metadata that shouldn't by updated directly by the user (such as payment status info).