Skip to main content
POST
/
v3
/
users
Add a user
curl --request POST \
  --url http://localhost/api/v3/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "jsmith@example.com",
  "password": "<string>",
  "password_confirmation": "<string>",
  "throttle": 123,
  "roles": [
    {
      "id": 123
    }
  ]
}
'
{
  "data": {
    "id": 123,
    "name": "<string>",
    "email": "<string>",
    "throttle": 123,
    "roles": [
      {
        "id": 123,
        "handle": "<string>"
      }
    ],
    "permissions": [
      {
        "id": 123,
        "handle": "<string>"
      }
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
name
string
required
email
string<email>
required
password
string
required
Minimum string length: 8
password_confirmation
string
required
Minimum string length: 8
throttle
integer | null
roles
object[]
Minimum array length: 1

Response

User

data
User · object
required