Delete Template Endpoint
DELETE
/v1/templates/{template_id}
const url = 'http://localhost:8080/v1/templates/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:8080/v1/templates/exampleSoft-delete the template.
Per arch §8.2: the row is marked inactive and retained for audit. Downgraded templates stop resolving for new jobs but keep answering queries for historical jobs that referenced them.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” template_id
required
Template Id
string
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Delete Template Endpoint V1 Templates Template Id Delete
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}