Skip to main content
POST
/
api
/
users
{
  "id": 123,
  "name": "<string>",
  "email": "jsmith@example.com",
  "groups": [
    123
  ],
  "permissions": [
    123
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "is_active": true
}

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Body

application/json
name
string
required
email
string
required
groups
integer[]
required
permissions
integer[]
required

Response

User created successfully

User object with all details

id
integer
required

User ID

name
string
required

User full name

email
string<email>
required

User email address

is_active
boolean
required

Whether the user is active

groups
integer[]

List of group IDs

permissions
integer[]

List of permission IDs

created_at
string<date-time>

User creation timestamp

updated_at
string<date-time>

User last update timestamp