Add an organization design template to this store as a linked copy (artifacts write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/"
payload = { "replace": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({replace: true})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"replace": true
}
'{}{
"code": "<string>",
"detail": "<string>"
}Organization items
Add an organization design template to this store as a linked copy (artifacts write)
id is the organization template. Writes a new version of the store’s list (unpublished on a manual-publish store) and copies the files. A name clash returns 409; replace: true keeps the store template’s id.
POST
/
projects
/
{project_id}
/
organization-design-templates
/
{id}
/
pull
/
Add an organization design template to this store as a linked copy (artifacts write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/"
payload = { "replace": True }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({replace: true})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/pull/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"replace": true
}
'{}{
"code": "<string>",
"detail": "<string>"
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Response
The store template entry
The response is of type object.