Skip to main content
POST
/
workspaces
/
{workspace_id}
/
memberships
Create Workspace Membership
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>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workspace_id
string<uuid>
required

Body

application/json
user_id
string<uuid4>
required

Response

Successful Response