- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deletes the instance configuration. Deletion is only allowed when no instances are using the configuration. If any instances are using the configuration, returns FAILED_PRECONDITION
.
Only user-managed configurations can be deleted.
Authorization requires spanner.instanceConfigs.delete
permission on the resource name
.
HTTP request
DELETE https://spanner.googleapis.com/v1/{name=projects/*/instanceConfigs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the instance configuration to be deleted. Values are of the form Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
etag |
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 configuration. Otherwise, deletes the instance configuration without checking the current status of the requested instance configuration. |
validate |
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:
https://www.googleapis.com/auth/spanner.admin
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.