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