APIs under the
/beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.
Make the scheduling page of this business not available to external customers.
Set the isPublished property to false, and publicUrl property to null.
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
|Permission type||Permissions (from least to most privileged)|
|Delegated (work or school account)||Bookings.Manage.All|
|Delegated (personal Microsoft account)||Not supported.|
If successful, this method returns
204 No content response code. It does not return anything in the response body.
The following is an example of how to call this API.
The following is an example of the request.
The following is an example of the response.
HTTP/1.1 204 No content
SDK sample code
GraphServiceClient graphClient = new GraphServiceClient( authProvider ); await graphClient.BookingBusinesses["Contosolunchdelivery@M365B489948.onmicrosoft.com"] .Unpublish(bookingBusiness) .Request() .PostAsync()
Send feedback about: