Take, or dismiss, a newer organization version of a linked copy (artifacts write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/update/"
payload = {}
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({})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/update/', 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}/update/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{}{
"code": "<string>",
"detail": "<string>"
}Organization items
Take, or dismiss, a newer organization version of a linked copy (artifacts write)
POST
/
projects
/
{project_id}
/
organization-design-templates
/
{id}
/
update
/
Take, or dismiss, a newer organization version of a linked copy (artifacts write)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/update/"
payload = {}
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({})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/{id}/update/', 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}/update/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{}{
"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 updated store template entry
The response is of type object.