Jika Anda menentukan nama variabel, variabel tersebut akan dihapus. Jika Anda menentukan awalan dan recursive bernilai benar, semua variabel dengan awalan tersebut akan dihapus. Anda harus menetapkan recursive ke benar (true) jika menghapus variabel menurut awalan.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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-------"]]