v1
latestOpenAPI 3.1.12026-07-124448163.2 KBusers
Invite a user
Invites a new client user and returns the created record.
post/users
Headers
x-client-idstring cuid required
The ID of the client
Example:cmf41ajzv003706un4i99q19z
Request body
Example request
{
"email": "frida@example.com",
"role": "admin",
"workspaceIds": [
"cmf41ajzv003706un4i99q19z"
]
}Response
User invited
Example response
{
"id": "cmf41ajzv003706un4i99q1a0",
"createdAt": "2024-05-14T08:30:00Z",
"email": "frida@example.com",
"firstName": "Frida",
"lastName": "Meyer",
"roles": [
"client_admin"
]
}