Skip to main content
POST
/
partner
/
instances
/
users
/
create
Create Instance User Endpoint
curl --request POST \
  --url https://api.example.com/partner/instances/users/create \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'instance_id=<string>' \
  --data 'username=<string>' \
  --data 'first_name=<string>' \
  --data 'last_name=<string>'
{
  "id": "<string>",
  "username": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "enabled": "<string>",
  "instance_id": "<string>"
}

Headers

Authorization
string

Body

application/x-www-form-urlencoded

Request data for creating a new user in an instance.

instance_id
string
required

ID of the instance where the user will be created.

Minimum string length: 1
username
string
required

Username for the new user.

Minimum string length: 1
first_name
string
required

Password for the new user.

Minimum string length: 1
last_name
string
required

Password for the new user.

Minimum string length: 1

Response

OK

Represents the JSON structure for creating a new user.

id
string | null

The unique identifier for the user.

username
string | null

The username of the user.

first_name
string | null

The first name of the user.

last_name
string | null

The last name of the user.

enabled
string | null

The enabled status of the user.

instance_id
string | null

The unique identifier for the instance the user belongs to.