POST
/
team
/
switch
Switch to a different team
curl --request POST \
  --url https://api.wirespeed.co/team/switch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "teamId": "<string>"
}'
{
  "accessToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
teamId
string
required

Team ID to switch to

Response

accessToken
string
required

JWT access token for authenticated requests