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": {
}
}
Invitations
Invite an user
Invite a user to an existing team
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
string
required
Email address of the user to invite
string
required
Role of the user to invite. Possible values are
OWNER, ADMIN, and MEMBERPath
string
required
Team slug of the team to invite the user to
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": {
}
}