Skip to content

Latest commit

 

History

History
108 lines (82 loc) · 4.08 KB

File metadata and controls

108 lines (82 loc) · 4.08 KB
title virtualEventRegistration: cancel
description Cancel a registrant's registration record for a webinar.
author halleclottey-msft
ms.localizationpriority medium
ms.subservice cloud-communications
doc_type apiPageType
ms.date 08/06/2024

virtualEventRegistration: cancel

Namespace: microsoft.graph

Cancel a registrant's registration record for a webinar.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

Note

  • Use delegated permissions to cancel a registration record for a person who has a Microsoft Entra ID.
  • Use application permissions to cancel a registration record for an anonymous user.
  • The VirtualEventRegistration-Anon.ReadWrite.Chat permission uses resource-specific consent.

HTTP request

POST /solutions/virtualEvents/webinars/{webinarId}/registrations/{registrationId}/cancel

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this action returns a 204 No Content response code.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/v1.0/solutions/virtualEvents/webinars/f4b39f1c-520e-4e75-805a-4b0f2016a0c6@a1a56d21-a8a6-4a6b-97f8-ced53d30f143/registrations/127962bb-84e1-7b62-fd98-1c9d39def7b6/cancel

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]



Response

The following example shows the response.

HTTP/1.1 204 No Content