cURL
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>'
Add a user to the workspace with specified roles.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User added to the workspace
Was this page helpful?