BookingService の削除Delete bookingService
名前空間: microsoft.graphNamespace: microsoft.graph
重要
/beta
Microsoft Graph のバージョンの api は変更される可能性があります。APIs under the /beta
version in Microsoft Graph are subject to change. 実稼働アプリケーションでこれらの API を使用することは、サポートされていません。Use of these APIs in production applications is not supported. API が v2.0 で利用できるかどうかを確認するには、 バージョン セレクターを使用します。To determine whether an API is available in v1.0, use the Version selector.
指定したbookingserviceのbookingserviceオブジェクトを削除します。Delete a bookingService object in the specified bookingbusiness.
アクセス許可Permissions
この API を呼び出すには、次のいずれかのアクセス許可が必要です。アクセス許可の選択方法などの詳細については、「アクセス許可」を参照してください。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.ReadWrite.All, Bookings.Manage.All |
委任 (個人用 Microsoft アカウント)Delegated (personal Microsoft account) | サポートされていません。Not supported. |
アプリケーションApplication | サポートされていません。Not supported. |
HTTP 要求HTTP request
DELETE /bookingBusinesses/{id}/services/{id}
要求ヘッダーRequest headers
名前Name | 説明Description |
---|---|
AuthorizationAuthorization | Bearer {code}Bearer {code} |
要求本文Request body
このメソッドには、要求本文を指定しません。Do not supply a request body for this method.
応答Response
成功した場合、このメソッドは 204, No Content
応答コードを返します。応答本文には何も返されません。If successful, this method returns 204, No Content
response code. It does not return anything in the response body.
例Example
要求Request
要求の例を次に示します。The following is an example of the request.
DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@M365B489948.onmicrosoft.com/services/57da6774-a087-4d69-b0e6-6fb82c339976
応答Response
応答の例を次に示します。The following is an example of the response. 注: 簡潔にするために、ここに示す応答オブジェクトは切り詰められている場合があります。Note: The response object shown here may be truncated for brevity. 実際の呼び出しではすべてのプロパティが返されます。All of the properties will be returned from an actual call.
HTTP/1.1 204 No Content