Create an identity user, invited or with a temporary password
Creates an account. When the station can send e-mails, the identity provider e-mails its invitation link and `invitation_sent` says whether it left. When it cannot, the e-mail address is optional, `recognized_by` names the supervisor who recognised the person, and `temporary_password` is answered this once. **Required permission:** `identity.user:write`
/identity/v1/usersCreates an account. When the station can send e-mails, the identity provider e-mails its invitation link and invitation_sent says whether it left. When it cannot, the e-mail address is optional, recognized_by names the supervisor who recognised the person, and temporary_password is answered this once.
Required permission: identity.user:write
Authorization
oauth2 In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
curl -X POST "https://example.com/identity/v1/users" \ -H "Content-Type: application/json" \ -d '{ "first_name": "string", "last_name": "string", "roles": [ "string" ], "username": "string" }'{ "invitation_sent": true, "temporary_password": "string", "user": { "email": "string", "first_name": "string", "id": "string", "last_name": "string", "last_sign_in": "2019-08-24T14:15:22Z", "phone": "string", "roles": [ "string" ], "status": "ACTIVE", "username": "string" }}