PUT
/
api
/
v1
/
users
/
{user_id}
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

client = Memobase(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

client.update_user(uid, {"ANY": "NEW_DATA"})
{
  "data": {
    "id": "<string>"
  },
  "errno": 0,
  "errmsg": ""
}

Update an existing user’s data. This endpoint allows you to modify user-specific information and settings.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

The ID of the user to update

Body

application/json · User Data · object

Updated user data

Response

200
application/json

Successful Response

The response is of type object.