Skip to main content
DELETE
/
api
/
v1
/
templates
/
{template_id}
/
sections
/
{section_id}
Delete Template Section
curl --request DELETE \
  --url https://api.artosai.com/api/v1/templates/{template_id}/sections/{section_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "deleted_section_id": "<string>",
  "deleted_count": 1
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Token provides organization-scoped access.

Path Parameters

template_id
string
required

UUID of template

section_id
string
required

UUID of section to delete

Query Parameters

cascade_children
boolean
default:true

Whether to delete child sections with higher levels

Response

Section deleted successfully

message
string

Success message

deleted_section_id
string

UUID of deleted section

deleted_count
integer
default:1

Total sections deleted