Skip to main content
POST
Create user or service account

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Body

application/json

Create user (email, type=user) or service account (type=service_account, roles)

type
enum<string>
required
Available options:
user,
service_account
email
string

Required when type is "user"

name
string

Display name; optional for service accounts

roles
string[]

Required when type is "service_account"

Response

Created

email
string

Empty for service accounts

id
string
metadata
object
name
string
password
string
roles
string[]
tenant
object
type
enum<string>
Available options:
user,
service_account