- URL:https://[root]/community/users/[userName]/invitations/[invitationID]/decline(POST only)
URL for Decline User Invitation
When a group administrator invites a user to their group, it results in a group invitation. The invited user can decline the invitation using the Decline Invitation operation (POST only). The operation deletes the invitation and creates a notification for the user indicating that they declined the invitation. The invited user is not added to the group. Available only to authenticated users.
|[Common Parameter]|| |
For a complete listing, see Common parameters.
Indicates if the operation was successful.
The ID of the declined invitation.
The username of the user who declined the invitation.
If the targetType of the invitation is "group," the groupId of the group declined is returned.
JSON Response Syntax
"groupId": "<group id>",
"id": "<invitation id>"
JSON Response Example