cURL
curl --request PATCH \ --url https://api.example.com/api/teams/invitations/{token} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "accepted" } '
{ "data": { "id": 123, "team_id": 123, "user_id": "<string>", "role": "<string>", "joined_at": "<string>" } }
Accept or decline a team invitation by setting its status.
Auth0 JWT access token
Invitation token (UUID v4)
"550e8400-e29b-41d4-a716-446655440000"
New invitation status
accepted
declined
"accepted"
Invitation accepted, member added
Show child attributes