Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
PUT
/
api
/
v1
/
users
/
{id}
Update user
curl --request PUT \
  --url https://{tenant}.cubecloud.dev/api/v1/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "embedTheme": null,
  "firstName": "<string>",
  "isAdmin": true,
  "isDeactivated": true,
  "lastLogin": null,
  "notifications": [
    "<string>"
  ],
  "password": "<string>",
  "picture": null,
  "securityContext": null,
  "settings": {},
  "title": "<string>",
  "tosAccepted": {}
}
'
{
  "email": "<string>",
  "id": 123,
  "isAdmin": true,
  "notifications": {},
  "username": "<string>",
  "activeRoleId": 123,
  "aliases": [
    {
      "createdAt": "<string>",
      "id": 123,
      "source": "ldap",
      "updatedAt": "<string>",
      "userId": 123,
      "username": "<string>"
    }
  ],
  "createdAt": "2023-12-25",
  "defaultRoles": [
    "<string>"
  ],
  "externalId": "<string>",
  "firstName": "<string>",
  "gitUser": "<string>",
  "impersonation": {
    "expiresAt": "2023-12-25",
    "impersonatedUser": null,
    "startedAt": "2023-12-25"
  },
  "isDeactivated": true,
  "lastLogin": "2023-12-25",
  "picture": "<string>",
  "samlId": "<string>",
  "settings": {
    "alternatingRowColors": true,
    "lastSeenChangelogId": 123,
    "locale": "<string>",
    "theme": "<string>",
    "timezone": "<string>"
  },
  "title": "<string>",
  "tosAccepted": {},
  "updatedAt": "2023-12-25"
}

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

id
number
required

Body

application/json

UserUpdateInput

embedTheme
unknown
firstName
string | null
isAdmin
boolean | null
isDeactivated
boolean | null
lastLogin
unknown
notifications
string[] | null
password
string | null
picture
unknown
securityContext
unknown
settings
object | null
title
string | null
tosAccepted
object | null

Response

200 - application/json
email
string
required
id
integer
required
isAdmin
boolean
required
notifications
object
required
username
string
required
activeRoleId
integer | null
aliases
object[] | null
createdAt
defaultRoles
string[] | null
externalId
string | null
firstName
string | null
gitUser
string | null
impersonation
object | null
isDeactivated
boolean | null
lastLogin
picture
string | null
samlId
string | null
settings
object | null
title
string | null
tosAccepted
object | null
updatedAt
Assistant
Responses are generated using AI and may contain mistakes.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.