Clone an addon template
POST/v1/addons/templates/:id/clone
Create a copy of an existing addon template
Request
Path Parameters
id stringrequired
Source addon template ID
- application/json
Body
required
name string
Name of the new addon template
Responses
- 201
- 404
Addon template cloned successfully
- application/json
- Schema
- Example (from schema)
Schema
_id stringrequired
The ID of the addon template
fleetId stringrequired
The fleet ID
name stringrequired
The name of the addon template
type numberrequired
Template type: 0 = Default, 1 = Corporate/Special
createdDate date-timerequired
Creation date
latestUpdate date-timerequired
Last update date
{
"_id": "672d07188234567890123456",
"fleetId": "FLEET001",
"name": "Default Add-ons",
"type": 0,
"createdDate": "2025-01-01T00:00:00.000Z",
"latestUpdate": "2025-01-01T00:00:00.000Z"
}
Source addon template not found
Loading...