POST
/
workspaces
/
members
/
{user_id}
curl --request POST \
  --url https://api.mudstack.com/workspaces/members/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Path Parameters

user_id
string
required

Query Parameters

roles
string[]
required

Response

200

User added to the workspace