iPX

ipx::admin

Endpoint ipx::admin::post_usersSource

POST /api/users
    body   NewUser
    ->     201 Created

Add an account.

With no password, the account signs in only through single sign-on.

Access: admin

Body

NewUser, as JSON.

Returns

201 Created

Errors

400 Bad Request
No name, or one that exists already.
403 Forbidden
You are not an admin.

Example

curl -X POST -H "Authorization: Bearer ipx_…" \
  -H "Content-Type: application/json" -d '{"name":"sam","password":"…"}' \
  "http://<your server>:8099/api/users"