Skip to main content
PUT
/
tenant
/
{tenant_name}
/
users
Update tenant user
curl --request PUT \
  --url https://api.example.com/tenant/{tenant_name}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "data": {
    "email": "",
    "first_name": "",
    "last_name": "",
    "phone": "",
    "description": "",
    "password": "<string>",
    "role": "admin",
    "enabled": true,
    "password_is_expired": true,
    "is_remote_user": true
  }
}
'
{
  "id": "<string>",
  "username": "<string>",
  "email": "<string>",
  "enabled": true,
  "password_is_expired": true,
  "remaining_failed_attempts": 123,
  "first_name": "<string>",
  "last_name": "<string>",
  "phone": "<string>",
  "description": "<string>",
  "role": "admin",
  "is_remote_user": false
}

Authorizations

Authorization
string
header
required

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

Path Parameters

tenant_name
string
required

Body

application/json
username
string
required
data
NBUpdateUserData · object
required

Response

Successful Response

id
string
required
username
string
required
email
string
required
enabled
boolean
required
password_is_expired
boolean
required
remaining_failed_attempts
integer
required
first_name
string | null
last_name
string | null
phone
string | null
description
string | null
role
enum<string> | null
Available options:
admin,
viewer,
editor,
remote_user,
partner
is_remote_user
boolean
default:false