Method: resources.features.rename
HTTP request
POST https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename
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.
|
oldName |
string
The unique ID of the feature to rename.
|
Request body
The request body contains an instance of FeatureRename
.
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.
FeatureRename
JSON representation |
{
"newName": string
} |
Fields |
newName |
string
New name of the feature.
|
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."],[[["Renames a Google Workspace feature using the provided `newName`."],["Requires specific OAuth scopes for authorization, like `https://www.googleapis.com/auth/admin.directory.resource.calendar`."],["Identifies the feature to rename using the `customer` and `oldName` path parameters in the HTTP request."],["Sends the new name for the feature within the request body as a FeatureRename object."],["Upon successful renaming, returns a generic HTTP response."]]],["This document outlines the process of renaming a feature within a Google Workspace account. It uses a `POST` HTTP request to the specified URL, including `customer` and `oldName` as path parameters. The request body must include a `FeatureRename` instance with the `newName` field. Successful requests yield a generic HTTP response. The operation requires specific OAuth scopes, either `https://apps-apis.google.com/a/feeds/calendar/resource/` or `https://www.googleapis.com/auth/admin.directory.resource.calendar`.\n"]]