Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Body

application/json
id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
email
string<email>
required
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
role
string
required
Minimum string length: 1
store
string
required
Minimum string length: 1
active
boolean
default:true

Response

The provisioned account, echoed back exactly as stored.

The provisioned account, echoed back exactly as stored.

id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
email
string<email>
required
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
role
string
required
Minimum string length: 1
store
string
required
Minimum string length: 1
active
boolean
required