Skip to main content
PATCH
/
api
/
v1
/
mgt
/
workspaces
/
{workspaceId}
/
users
/
{userId}
/
password
Set User Password
curl --request PATCH \
  --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/users/{userId}/password \
  --header 'Content-Type: application/json' \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '
{
  "password": "newSecurePassword123"
}
'
{
  "data": {},
  "extra_meta": {
    "message": "User password updated successfully"
  }
}

Authorizations

x-client-key
string
header
required

Client API key for authentication

x-client-secret
string
header
required

Client secret for authentication

Path Parameters

workspaceId
string<uuid>
required

ID of the workspace

userId
string<uuid>
required

ID of the user whose password is to be updated

Body

application/json
password
string
required

New password to be set

Minimum string length: 6

Response

Password updated successfully

data
object
extra_meta
object