> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # DeleteRsvp # Package: registration # Namespace: RsvpManagement # Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/registration/rsvp-v2/delete-rsvp.md ## Permission Scopes: Manage Guest List: SCOPE.DC-EVENTS.MANAGE-GUEST-LIST ## Introduction Deletes an RSVP. --- ## REST API ### Schema ``` Method: deleteRsvp Description: Deletes an RSVP. URL: https://www.wixapis.com/events/v2/rsvps/{rsvpId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: rsvpId Method parameters: param name: rsvpId | type: none | required: true Return type: DeleteRsvpResponse EMPTY-OBJECT {} ``` ### Examples ### Delete RSVP ```curl curl -X DELETE 'https://www.wixapis.com/events/v2/rsvps/04978771-573e-40d8-b644-ce99ac49706e' \ -H 'Authorization: ' \ ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.registration.RsvpManagement.deleteRsvp(rsvpId) Description: Deletes an RSVP. # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: rsvpId Method parameters: param name: rsvpId | type: string | description: GUID of the RSVP to delete. | required: true Return type: PROMISE EMPTY-OBJECT {} ``` ### Examples ### deleteRsvp ```javascript import { rsvpV2 } from '@wix/events'; async function deleteRsvp(rsvpId) { const response = await rsvpV2.deleteRsvp(rsvpId); }; ``` ### deleteRsvp (with elevated permissions) ```javascript import { rsvpV2 } from '@wix/events'; import { auth } from '@wix/essentials'; async function myDeleteRsvpMethod(rsvpId) { const elevatedDeleteRsvp = auth.elevate(rsvpV2.deleteRsvp); const response = await elevatedDeleteRsvp(rsvpId); } ``` ### deleteRsvp (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { rsvpV2 } from '@wix/events'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { rsvpV2 }, // Include the auth strategy and host as relevant }); async function deleteRsvp(rsvpId) { const response = await myWixClient.rsvpV2.deleteRsvp(rsvpId); }; ``` ---