CatalogService.DeleteCatalogConnection
This compatibility method authenticates the caller, then returns unimplemented. Use
ProviderCatalogService/DeleteSourceConnection.
CatalogService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.
POST /prokrust.api.v1alpha1.CatalogService/DeleteCatalogConnection
Request headers
| Header | Value and purpose |
|---|---|
Authorization | Use Bearer $PROKRUST_TOKEN for a Kubernetes caller authorized for this operation. Browser calls use the signed-in session. |
Content-Type | application/json selects ProtoJSON for this unary request. |
Connect-Protocol-Version | 1 selects version 1 of the Connect protocol. |
Request fields
| JSON field | Type | Meaning |
|---|---|---|
namespace | string | Kubernetes workspace namespace for the operation. Use the namespace in which the selected resource lives. |
name | string | Kubernetes metadata.name of the selected resource in this namespace. |
uid | string | Kubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance. |
resourceVersion | string | Opaque Kubernetes resource version. Copy the value from a current read. Preserve it as a string. |
studyChildren | StudyChildDeletionRequest | TrainingStudy only. Absent preserves child TrainingRuns. |
Example request
Set PROKRUST_URL to the installation’s HTTPS origin and PROKRUST_TOKEN to your caller token. Replace the sample values with values from your installation.
curl --fail-with-body --silent --show-error \
-H "Authorization: Bearer $PROKRUST_TOKEN" \
-H 'Content-Type: application/json' \
-H 'Connect-Protocol-Version: 1' \
"$PROKRUST_URL/prokrust.api.v1alpha1.CatalogService/DeleteCatalogConnection" \
--data-binary @- <<'JSON'
{
"namespace": "analytics",
"name": "source",
"uid": "f36380d0-960e-57af-b8dd-7819ec635a5d",
"resourceVersion": "42"
}
JSON
Returned error
{
"code": "unimplemented",
"message": "Use the provider catalog APIs for source connections"
}