Method: projects.locations.connectionProfiles.delete

Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs.

HTTP request

DELETE https://datamigration.googleapis.com/v1beta1/{name}

Path parameters

Parameters
name

string

Required. Name of the connection profile resource to delete.

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

  • datamigration.connectionprofiles.delete

Query parameters

Parameters
requestId

string

A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored.

It is recommended to always set this value to a UUID.

The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

force

boolean

In case of force delete, the CloudSQL replica database is also deleted (only for CloudSQL connection profile).

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.