PPylon Developers
ApiOrganizer Templates

Clone template

Creates a new site from a template.

POST
/api/organizer/v1/sites/templates/{templateId}/clone
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

templateId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/organizer/v1/sites/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08/clone" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "slug": "string"  }'
{
  "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
}
{
  "code": "string",
  "message": "string"
}