Clone a checklist into the caller's organization
POST
/api/v1/checklists/templates/{template_id}/clone/
const url = 'https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clone/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clone/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”template_id
required
Template Id
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Created
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}