Accept a team invitation.
Only the target user (the one who was invited) can accept their invitation. The user_id and email come from the authenticated JWT token.
cURL
curl --request POST \ --url https://api.example.com/v1/teams/invites/{invitation_id}/accept
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "OWNER", "created_at": 123, "updated_at": 123 }
Successful Response
Team membership domains model.
Team membership roles.
OWNER
ADMIN
MEMBER
Was this page helpful?