Add a new user. New user will be admin.
cURL
curl --request POST \ --url https://1-some-client.some-server.healvi-chat/third-party/v1/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "email": "<string>" } '
{ "id": 123, "name": "<string>", "email": 123, "roles": [ "<string>" ], "permissions": [ "<string>" ], "created_at": "2023-01-01T12:00:00Z", "updated_at": "2023-01-01T12:00:00Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Must be unique across users.
Success
User from business which operates this app.
Internal ID.
List of roles. "admin" has all permissions implicitly.
List of permissions.
"2023-01-01T12:00:00Z"