Wenn Sie einen Namen einer Variable angeben, wird diese Variable gelöscht. Wenn Sie ein Präfix angeben und recursive auf „wahr“ gesetzt ist, werden alle Variablen mit diesem Präfix gelöscht. Sie müssen recursive auf „wahr“ setzen, wenn Sie Variablen nach Präfix löschen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (UTC)."],[[["\u003cp\u003eThis API allows for the deletion of a single variable or multiple variables that share a common prefix.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter specifies the variable to be deleted using a specific format, and requires \u003ccode\u003eruntimeconfig.variables.delete\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erecursive\u003c/code\u003e query parameter, when set to \u003ccode\u003etrue\u003c/code\u003e, enables the deletion of multiple variables that share the specified prefix.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this operation, and a successful response will also have an empty body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this API requires one of two specified OAuth scopes, outlined in the Authentication Overview.\u003c/p\u003e\n"]]],[],null,["# Method: projects.configs.variables.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a variable or multiple variables.\n\nIf you specify a variable name, then that variable is deleted. If you specify a prefix and `recursive` is true, then all variables with that prefix are deleted. You must set a `recursive` to true if you delete variables by prefix.\n\n### HTTP request\n\n`DELETE https://runtimeconfig.googleapis.com/v1beta1/{name=projects/*/configs/*/variables/**}`\n\nThe URL uses [gRPC Transcoding](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body will be empty.\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloudruntimeconfig`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\nTry it!\n-------"]]