Create a template
Create a template.
Parameters
name
string
required
Name for the template.
folder
string
required
Unique identifier of the folder which will be used for the template.
Returns
Returns the created template object. Throws an error if some parameters are not valid.
post
/api/templates
curl -X POST https://{workspace}.kitchen.co/api/templates \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"createdAt": "2024-05-23T08:30:11+00:00",
"id": "fo_4467f84d80755361f178be28",
"name": "et",
"updatedAt": "2024-05-23T08:30:11+00:00"
}