Skip to main content

Create a new local user

General Attributes:

  • firstName (string): The first name of the user being created.

  • lastName (string): The user’s last name.

  • username (string): The user account username.

  • email (string): The user’s email address.

  • groupId (string): The unique identifier of the group to which the user belongs.

  • role (string): The role assigned to the user. Supported values:

    • OWNER

    • MEMBER

    • ADMIN

Device Attributes

  • devices (array): An array of devices associated with the user. Each device is defined by the following attributes:

    • name (string): The device name.

    • description (string): A brief description of the device.

    • clientUUID (string): The unique identifier for the device client.

Body parameter
{
  "firstName": "string",
  "lastName": "string",
  "username": "string",
  "email": "string",
  "groupId": "00000000-0000-0000-0000-000000000000",
  "role": "OWNER",
  "devices": [
    {
      "name": "string",
      "description": "string",
      "clientUUID": "string"
    }
  ]
}

Parameters

Name

In

Type

Required

Description

body

body

UserCreateRequest

true

none

» firstName

body

string

false

none

» lastName

body

string

false

none

» username

body

string

false

none

» email

body

string

false

none

» groupId

body

string

false

none

» role

body

string

false

none

» devices

body

[DeviceRequest]

false

none

»» name

body

string

false

none

»» description

body

string

false

none

»» clientUUID

body

string

false

none

Enumerated Values

Parameter

Value

» role

OWNER

» role

MEMBER

» role

ADMIN

Responses

Status

Meaning

Description

Schema

201

Created

Created

UserResponse

To perform this operation, you must be authenticated by means of one of the following methods: oauth