v1
latestOpenAPI 3.1.12026-07-124448163.2 KBadmin.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"
}
]
}