Skip to main content

UpsertUserRequest

emailstring<email>required

Email address of the user

Example: john.doe@example.com
firstNamestringrequired

First name of the user

Example: John
lastNamestringrequired

Last name of the user

Example: Doe
uidstring

Unique identifier of the user (for updates)

Example: 019619df-4768-76b7-81e3-2c56d374df46
passwordstring<password>

Password for the user

Example: SecureP@ssw0rd!
fromExternalIdpboolean

Whether the user is from an external identity provider

Example: false
allAssetsboolean

Whether the user has access to all assets

Example: false
userGroupUidsstring[]

UIDs of user groups the user belongs to

Example: ["019619df-4768-76b7-81e3-2c56d374df46","019619df-4768-7b28-ae66-afbee5b857ab"]
permissions object[]

Permissions assigned to the user

  • Array [
  • uidstringrequired

    UID of the permission

    Example: 019619df-4767-730f-8d31-143712a08141
  • ]
  • UpsertUserRequest
    {
    "email": "john.doe@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "uid": "019619df-4768-76b7-81e3-2c56d374df46",
    "password": "SecureP@ssw0rd!",
    "fromExternalIdp": false,
    "allAssets": false,
    "userGroupUids": [
    "019619df-4768-76b7-81e3-2c56d374df46",
    "019619df-4768-7b28-ae66-afbee5b857ab"
    ],
    "permissions": [
    {
    "uid": "019619df-4767-730f-8d31-143712a08141"
    }
    ]
    }