curl --request POST \
--url https://api.example.com/workspaces/{workspace_id}/memberships \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"user_id": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a workspace membership for a user.
curl --request POST \
--url https://api.example.com/workspaces/{workspace_id}/memberships \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"user_id": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?