Method: resources.calendars.delete
Deletes a calendar resource.
HTTP request
DELETE https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customer |
string
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
|
calendarResourceId |
string
The unique ID of the calendar resource to delete.
|
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires one of the following OAuth scopes:
https://apps-apis.google.com/a/feeds/calendar/resource/
https://www.googleapis.com/auth/admin.directory.resource.calendar
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Permanently deletes a specific calendar resource within a Google Workspace account."],["Requires providing the customer ID and the unique calendar resource ID in the request URL."],["Uses an HTTP DELETE request with an empty body and authorization via specific OAuth scopes."],["A successful deletion results in a generic HTTP response without a specific response body."]]],["This document outlines the process to delete a calendar resource using the Google Admin Directory API. A `DELETE` request is sent to a specific URL including the customer ID and the calendar resource ID. The request body must be empty. Success returns a generic HTTP response. Authorization requires either the `https://apps-apis.google.com/a/feeds/calendar/resource/` or `https://www.googleapis.com/auth/admin.directory.resource.calendar` OAuth scope. The customer ID can be the unique ID, or `my_customer`.\n"]]