PUT
/
team
/
invite
Invite user to team
curl --request PUT \
  --url https://api.wirespeed.co/team/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "role": "ADMIN",
  "autoSubscribeToNotifications": true
}'
{
  "message": "<string>",
  "statusCode": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json
firstName
string
required

First name of the user to invite (1-512 characters)

lastName
string
required

Last name of the user to invite (1-512 characters)

email
string
required

Email address of the user to invite

role
enum<string>
required

Role to assign to the invited user

Available options:
ADMIN,
ANALYST,
VIEWER
autoSubscribeToNotifications
boolean

Whether to disable notifications for the invited user

Response

message
string
required
statusCode
number
required