Deploy Template
Deploy Template
This API allows you to deploy an existing global template into the system.
Endpoint
POST /v2/global/deploy-template
Base URL:
https://prodnode.unizooks.com
Headers
| Key | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | ✅ | Defines the request body format |
Authorization | Bearer <JWT_TOKEN> | ✅ | Provide a valid JWT token for authentication |
Request Body
{
"id":"cf476775-abe0-4635-a22e-aeaf1a226e64"
}
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | Unique identifier (UUID) of the template to deploy |
Response
Success (200 OK)
{
"status": true,
"message": "Template deployed successfully"
}
Error (400 Bad Request)
{
"success": false,
"message": "Invalid request body. 'id' is required"
}
Error (401 Unauthorized)
{
"success": false,
"message": "Invalid or expired token"
}
Example (cURL)
curl --location 'https://prodnode.unizooks.com/v2/global/deploy-template' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <JWT_TOKEN>' \
--data '{
"id":"cf476775-abe0-4635-a22e-aeaf1a226e64"
}'
✅ Use this API to deploy an existing global template.