Add a user to a team.
cURL
curl --request POST \ --url https://public.api.serval.com/v1/teams/{team_id}/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "userId": "<string>", "role": "<string>" }'
{ "userId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the Serval team to add the user to.
Success
The response is of type object.
object