Method: projects.instanceConfigs.delete

Deletes the instance config. Deletion is only allowed when no instances are using the configuration. If any instances are using the config, returns FAILED_PRECONDITION.

Only user-managed configurations can be deleted.

Authorization requires spanner.instanceConfigs.delete permission on the resource name.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the instance configuration to be deleted. Values are of the form projects/<project>/instanceConfigs/<instanceConfig>

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

  • spanner.instanceConfigs.delete

Query parameters



Used for optimistic concurrency control as a way to help prevent simultaneous deletes of an instance configuration from overwriting each other. If not empty, the API only deletes the instance configuration when the etag provided matches the current status of the requested instance config. Otherwise, deletes the instance configuration without checking the current status of the requested instance config.



An option to validate, but not actually execute, a request, and provide the same response.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.