Requires authorization
Deletes a Cloud SQL instance. Try it now .
When the instance is deleted, all of the instance's data will be permanently lost. You may want to export your instance before you delete it, or delete it after a scheduled backup has occurred.
Request
HTTP request
DELETE https://www.googleapis.com/sql/v1beta3/projects/project/instances/instance
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
instance
|
string
|
Cloud SQL instance ID. This does not include the project ID. |
project
|
string
|
Project ID of the project that contains the instance to be deleted. |
Authorization
This request requires authorization with the following scope ( read more about authentication and authorization ).
Scope |
---|
https://www.googleapis.com/auth/sqlservice.admin
|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "sql#instancesDelete", "operation": string }
Property name | Value | Description | Notes |
---|---|---|---|
kind
|
string
|
This is always
sql#instancesDelete
.
|
|
operation
|
string
|
An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response.