Method: projects.configs.variables.delete

Deletes a variable or multiple variables.

If 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.

HTTP request

DELETE https://runtimeconfig.googleapis.com/v1beta1/{name=projects/*/configs/*/variables/**}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the variable to delete, in the format:

projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAME]

Authorization requires the following Google IAM permission on the specified resource name:

  • runtimeconfig.variables.delete

Query parameters

Parameters
recursive

boolean

Set to true to recursively delete multiple variables with the same prefix.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloudruntimeconfig

For more information, see the Authentication Overview.

Try it!