Skip to content

Revokes an invitation so its email and link can no longer be redeemed.

Endpoint

  • Method: DELETE

  • Path: /invitations/{invitation_id}

  • Edition: Core

  • Controller: InvitationController@delete

  • Route source: fluent-community/Modules/Auth/InvitationModule.php:24

  • Controller source: fluent-community/Modules/Auth/Classes/InvitationController.php

  • Requires the community_moderator permission in the space the invitation was issued for.

  • Requires FluentCommunity Pro with the invitation feature 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

DELETE
/invitations/{invitation_id}

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

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

invitation_id*

Invitation ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation