Skip to main content

Create a new local user

Parameters

Name

In

Type

Required

Description

body

body

object

true

body

Body parameter
{
  "devices": [
    {
      "description": "string",
      "name": "string"
    }
  ],
  "email": "string",
  "firstName": "string",
  "groupId": "string",
  "lastName": "string",
  "role": "ADMIN",
  "username": "string"
}

Responses

Status

Meaning

Description

200

OK

OK

201

Created

Entity created

400

Bad Request

Bad Request

401

Unauthorized

Unauthorized

403

Forbidden

Access Forbidden

404

Not Found

Not Found

406

Not Acceptable

Not Acceptable

429

Too Many Requests

Too Many Requests

500

Internal Server Error

Internal Server Error

{
  "authType": "INTERNAL",
  "devices": [
    {
      "description": "string",
      "id": "string",
      "ipV4Address": "string",
      "ipV6Address": "string",
      "name": "string",
      "vpnRegions": [
        {
          "continent": "string",
          "country": "string",
          "countryIso": "string",
          "id": "string",
          "regionName": "string"
        }
      ]
    }
  ],
  "email": "string",
  "firstName": "string",
  "groupId": "string",
  "id": "string",
  "lastName": "string",
  "role": "ADMIN",
  "status": "ACTIVE",
  "username": "string"
}

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