Skip to main content

Delete Section

Delete Section​

This API allows you to delete a section from a global template using its section_id.


Endpoint​

DELETE /v2/global/section/{section_id}

Base URL:
https://prodnode.unizooks.com


Headers​

KeyValueRequiredDescription
AuthorizationBearer <JWT_TOKEN>✅Provide a valid JWT token for authentication

Path Parameters​

ParameterTypeRequiredDescription
section_idstring✅Unique identifier (UUID) of section

Response​

Success (200 OK)​

{
"status": true,
"message": "Section deleted successfully"
}

Error (400 Bad Request)​

{
"success": false,
"message": "Invalid section_id"
}

Error (401 Unauthorized)​

{
"success": false,
"message": "Invalid or expired token"
}

Example (cURL)​

curl --location --request DELETE 'http://127.0.0.1:4022/v2/global/section/7b549d85-8323-11f0-b592-bc2411f4d589' \
--header 'Authorization: Bearer <JWT_TOKEN>'

✅ Use this API to permanently remove a section from a global template.