Update User

Update exiting user in your account

Update a user

PATCH https://api.xenia.team/v1/users/:id

Update existing user

Path Parameters

NameTypeDescription

id*

String

User id

Headers

NameTypeDescription

Authorization*

JWT Token

Access token

Request Body

NameTypeDescription

firstName

string

first name of the user

lastName

string

last name of the user

email

email

email of the user

phone

string

phone of the user

photo

URL

user profile picture

{
    "id": "e77b6442-de60-401c-a173-0afc84a5747e",
    "firstName": "John",
    "lastName" "Wick",
    "email": "john@company.com",
    "phone": "+14844608118",
    "photo": "https://cdn.xenia.team/images/e77b6442.png",
    "status": "active",
    "workspaceId": "e77b6442-de60-401c-a173-0afc84a5747e",
    "locations": ["e77b6442-de60-401c-a173-0afc84a5747e"],
    "createdAt": 1701743645
    "updatedAt": 2001743645
}

Last updated