POST
/
api
/
teams
/
{slug}
/
invites
curl --location --request POST 'http://localhost:3005/api/teams/acme/invites' \
--header 'Accept: application/json' \
--header 'Authorization: Token <token>' \
--data '{
  "email": "david@example.com",
  "role": "MEMBER"
}'
{
  "data": {

  }
}

Body

email
string
required

Email address of the user to invite

role
string
required

Role of the user to invite. Possible values are OWNER, ADMIN, and MEMBER

Path

slug
string
required

Team slug of the team to invite the user to