Accept account invitation

http
POST /accounts/-/invitations/accept

Accept account invitation.

Request body

FieldTypeRequiredDescription
tokenstringYesInvitation acceptance token. Requires a user session; API keys are refused. Fresh acceptance requires the matching current email. Repeating acceptance returns the existing membership for the same accepting user, if that membership still exists. Unknown or revoked tokens return 404; a fresh request with a mismatched email returns 403. Expired or no longer authorized invitations return 409.

Responses

StatusDescription
200Already a member; the existing membership
201Membership created
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
500Server error