Skip to main content

CatalogService.ReviewDeletion

Review the current object, known dependants, management state, and caller permissions before requesting removal.

CatalogService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.

POST /prokrust.api.v1alpha1.CatalogService/ReviewDeletion

Request headers​

HeaderValue and purpose
AuthorizationUse Bearer $PROKRUST_TOKEN for a Kubernetes caller authorized for this operation. Browser calls use the signed-in session.
Content-Typeapplication/json selects ProtoJSON for this unary request.
Connect-Protocol-Version1 selects version 1 of the Connect protocol.

Request fields​

ReviewDeletionRequest

JSON fieldTypeMeaning
namespacestringKubernetes workspace namespace for the operation. Use the namespace in which the selected resource lives.
kindstringCase-sensitive Kubernetes kind of the resource to resolve.
namestringKubernetes metadata.name of the selected resource in this namespace.
uidstringKubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance.

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/ReviewDeletion" \
--data-binary @- <<'JSON'
{
"namespace": "analytics",
"name": "events",
"uid": "a577ec80-2558-5740-88b6-155296d2e599",
"kind": "Table"
}
JSON

Response fields​

ReviewDeletionResponse

JSON fieldTypeMeaning
resourceResourceResource projection for the object affected by the operation.
dependantslist of ResourceReferenceKnown resources that reference this object. Inspect them before requesting deletion.
allowedboolWhether the review permits the requested deletion at the time of the check. Check permissionsKnown before interpreting false.
permissionsKnownboolWhether the access review returned an authoritative result. If false, inspect reason before retrying.
reasonstringHuman-readable explanation of a blocker, management rule, or access restriction from the current review.
managedboolTrue when the resource is managed by an external configuration tool. Make changes through its owner.
finalizerslist of stringKubernetes finalizers that can delay removal while cleanup runs.
retentionNoticestringStorage retention details to review before deleting the Kubernetes object.
studyChildrenStudyChildDeletionReviewPresent for TrainingStudy. Child removal requires separate explicit consent.

Example response​

{
"resource": {
"namespace": "analytics",
"name": "events",
"uid": "a577ec80-2558-5740-88b6-155296d2e599",
"resourceVersion": "42",
"generation": "1",
"creationTimestamp": "2026-05-12T10:00:00Z",
"spec": {
"source": {
"connectionRef": {
"apiVersion": "synthetic.sources.prokrust.ai/v1",
"kind": "SyntheticConnection",
"name": "source"
},
"selector": {
"schemaVersion": "v1",
"config": {
"dataset": "events"
}
}
},
"columns": [
{
"name": "event_id",
"physicalType": "Utf8",
"semanticType": "Id",
"feature": false
},
{
"name": "value",
"physicalType": "Float64",
"semanticType": "Numerical",
"feature": true
}
],
"primaryKey": "event_id",
"featureTimePolicy": "Static"
}
},
"allowed": false,
"permissionsKnown": true,
"dependants": [
{
"kind": "Graph",
"name": "events-graph",
"uid": "21668e0d-cd17-5cdd-bd22-6c0b584b21a9"
}
]
}