Revokes an invitation so its email and link can no longer be redeemed.
Endpoint
Method:
DELETEPath:
/invitations/{invitation_id}Edition: Core
Controller:
InvitationController@deleteRoute source:
fluent-community/Modules/Auth/InvitationModule.php:24Controller source:
fluent-community/Modules/Auth/Classes/InvitationController.phpRequires the
community_moderatorpermission in the space the invitation was issued for.Requires FluentCommunity Pro with the
invitationfeature enabled.Destructive: the invitation row is deleted and any link already shared stops working immediately.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
DELETE Delete Invitation
Revokes an invitation so its email and link can no longer be redeemed.
Controller: InvitationController@delete
Route source: fluent-community/Modules/Auth/InvitationModule.php:24
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Invitation ID extracted from the URL path.
Responses
Successful response