Skip to main content

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​

KeyValueRequiredDescription
Content-Typeapplication/json✅Defines the request body format
AuthorizationBearer <JWT_TOKEN>✅Provide a valid JWT token for authentication

Request Body​

{
"id":"cf476775-abe0-4635-a22e-aeaf1a226e64"
}

Body Parameters​

FieldTypeRequiredDescription
idstring✅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.