admin.users
Invite an accountant user
Invites a new accountant user and returns the created record.
post/admin/users
Request body
Example request
{
"email": "frida@example.com"
}Response
Accountant user invited
Example response
{
"id": "cmf41ajzv003706un4i99q1b1",
"createdAt": "2024-08-20T12:34:56Z",
"email": "alex@example.com",
"firstName": "Alex",
"lastName": "Müller",
"roles": [
{
"id": "cmf41ajzv003706un4i99q1a0",
"name": "accountant_admin",
"customName": "Head of Accounting"
}
]
}Changes
Changed in 1 of the 5 revisions of this API.1
- ○
added the media type
application/jsonfor the response with the status500response-media-type-added
- ○