cURL
curl --request DELETE \
--url https://cockroachlabs.cloud/api/v1/clusters/{cluster_id}/networking/private-endpoint-connections/{endpoint_id} \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Delete a connection from a cluster's private endpoint service.
Remove a private endpoint from a service’s trusted endpoints list. Caller should make sure to URL encode the endpoint_id before calling this method.
Can be used by the following roles assigned at the organization, folder or cluster scope:
- CLUSTER_ADMIN
- CLUSTER_OPERATOR_WRITER
DELETE
/
api
/
v1
/
clusters
/
{cluster_id}
/
networking
/
private-endpoint-connections
/
{endpoint_id}
cURL
curl --request DELETE \
--url https://cockroachlabs.cloud/api/v1/clusters/{cluster_id}/networking/private-endpoint-connections/{endpoint_id} \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'{}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}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
cluster_id is the id of the cluster from which the private endpoint connection will be removed.
endpoint_id is the id of the private endpoint associated with a cluster's private endpoint service.
Response
A successful response.
The response is of type object.

