roles

Accept or decline a specific group invitation

Updates the group invitation and returns the updated definition

patch/users/{id}/group-invitations/{group-invitation-id}

Path parameters

idstring required

User id

group-invitation-idstring required

The group invitation id

Request body

state'queued' | 'accepted' | 'sent' | 'declined'

The current state of the group invitation.

Response

The group invitation was successfully accepted or declined

state'queued' | 'accepted' | 'sent' | 'declined'

The current state of the group invitation.

hrefstring

A reference to this group

createdstring

An iso8601 formatted timestamp

sentstring

An iso8601 formatted timestamp

granted_bystring

The user that sent the invitation

user_emailstring

An email address

groupstring

A reference to this group

Changes

No recorded changes to this endpoint across all 1 revision of this API.