revokeOrganizationInvitation

@POST(value = "organizations/{organization_id}/membership_requests")
abstract suspend fun revokeOrganizationInvitation(@Path(value = "organization_id") organizationId: String, @Path(value = "invitation_id") invitationId: String): ClerkResult<OrganizationInvitation, ClerkErrorResponse>

Revoke a pending organization invitation.

The current user must have permissions to manage the members of the organization.

Parameters

organizationId

The id of the organization for which the invitations will be retrieved.

invitationId

The id of the invitation to be revoked.