Templates
Install template
Installs the requested template with the given parameters. Returns a newly created workspace. If the template creates multiple workspaces - then it still returns a single workspace which is considered by the template as "main".<br/>Requirements:<br/>- auth-client scopes: "workspace"
post/api/workspaces/templates/{templateId}
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/workspaces/templates/{templateId}
- Auth: HTTP bearer
Path parameters
templateIdstring required
Query parameters
actAsAdminboolean
Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.
Request body
Response
Example response
{
"_embedded": {
"children": [
{
"workspace": {
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}
}
],
"parents": [
{
"workspace": {
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}
}
]
},
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.