cURL
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.
Successful Response
Was this page helpful?