cURL
curl --request DELETE \
--url https://cockroachlabs.cloud/api/v1/clusters/{cluster_id}/migration-assistant/source-ca-cert \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{
"x509_pem_cert": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Delete the source-database CA certificate for a cluster's Migration Assistant.
Reverts the assistant to the system trust roots and returns the deleted certificate bundle.
Can be used by the following roles assigned at the organization, folder or cluster scope:
- ORG_ADMIN
- CLUSTER_ADMIN
DELETE
/
api
/
v1
/
clusters
/
{cluster_id}
/
migration-assistant
/
source-ca-cert
cURL
curl --request DELETE \
--url https://cockroachlabs.cloud/api/v1/clusters/{cluster_id}/migration-assistant/source-ca-cert \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{
"x509_pem_cert": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}PREVIEW
This endpoint is in Preview and subject to change. Refer to the API support policy for more details.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the cluster whose source-database CA certificate to delete.
Response
A successful response.
MigrationAssistantSourceCACert is the CA certificate bundle a Migration Assistant trusts when connecting to its source database.
The PEM-encoded X.509 CA certificate bundle.

