Hide
Cloud SQL

Instances: resetSslConfig

Requires authorization

Deletes all client certificates and generates a new server SSL certificate for a Cloud SQL instance. Try it now.

Changes to the instance will not take effect until the instance is restarted. Existing instances without a server certificate must call this method once to set a server certificate.

Request

HTTP request

POST https://www.googleapis.com/sql/v1beta3/projects/project/instances/instance/resetSslConfig

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.

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#instancesResetSslConfig",
  "operation": string
}
Property name Value Description Notes
kind string This is always sql#instancesResetSslConfig.
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. All ssl client certificates will be deleted and a new server certificate will be created. Does not take effect until the next instance restart.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.