Review or apply owner-scoped test-residue cleanup
curl --request POST \
--url https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"digest": "<string>",
"stack_id": "<string>"
}
'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans"
payload = {
"digest": "<string>",
"stack_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({digest: '<string>', stack_id: '<string>'})
};
fetch('https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'digest' => '<string>',
'stack_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans"
payload := strings.NewReader("{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"mode": "dry_run",
"message": "<string>",
"digest": "<string>",
"candidates": [
{
"resource_type": "stack_projection",
"id": "<string>",
"name": "<string>",
"class": "e2e_test_stack",
"reason": "<string>"
}
],
"applied": {
"stacks": 1,
"workers": 1,
"total": 1
},
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Stacks
Review or apply owner-scoped test-residue cleanup
Two-phase cleanup for control-plane projections only. A dry_run
returns the exact authenticated-owner E2E/runtime-cloud candidates and
a stable revision-bound digest. apply recomputes the plan and accepts
only that exact digest. This route never decommissions a lease, calls a
provider, destroys infrastructure, or enqueues lifecycle work.
POST
/
api
/
v1
/
stacks
/
prune-orphans
Review or apply owner-scoped test-residue cleanup
curl --request POST \
--url https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"digest": "<string>",
"stack_id": "<string>"
}
'import requests
url = "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans"
payload = {
"digest": "<string>",
"stack_id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({digest: '<string>', stack_id: '<string>'})
};
fetch('https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'digest' => '<string>',
'stack_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans"
payload := strings.NewReader("{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.kombify.io/v1/techstack/api/v1/stacks/prune-orphans")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"digest\": \"<string>\",\n \"stack_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"mode": "dry_run",
"message": "<string>",
"digest": "<string>",
"candidates": [
{
"resource_type": "stack_projection",
"id": "<string>",
"name": "<string>",
"class": "e2e_test_stack",
"reason": "<string>"
}
],
"applied": {
"stacks": 1,
"workers": 1,
"total": 1
},
"warnings": [
"<string>"
]
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "<string>",
"details": "<unknown>"
}
}Autorizaciones
OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.
Cuerpo
application/json
Respuesta
Reviewed plan or applied projection cleanup
Show child attributes
Show child attributes
