Skip to content

Delete Template

DELETE
/api/v1/chat/templates/{template_id}

Delete a template by ID.

Args: template_id: Template UUID to delete conn: Database connection (injected)

Raises: HTTPException: 404 if not found

template_id
required
Template Id
string

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object