v1
latestOpenAPI 3.1.12026-07-124448163.2 KBworkspace.members
Create a workspace member
Creates a new workspace member.
post/workspaces/{id}/members
Path parameters
idstring cuid required
The ID of the item
Example:cmf41ajzv003706un4i99q19z
Headers
x-client-idstring cuid required
The ID of the client
Example:cmf41ajzv003706un4i99q19z
Request body
Example request
{
"userId": "cmf41ajzv003706un4i99q1a0"
}Response
Workspace member created successfully
Example response
{
"createdAt": "2024-05-14T08:30:00Z",
"updatedAt": "2024-06-01T12:00:00Z",
"workspaceId": "cmf41ajzv003706un4i99q19z",
"userId": "cmf41ajzv003706un4i99q1a0",
"user": {
"id": "cmf41ajzv003706un4i99q1a0",
"email": "frida@example.com",
"firstName": "Frida",
"lastName": "Meyer"
}
}