Workspaces
Duplicate workspace with all its items and apps.
Returns the newly created workspace with embedded data.<br/>Requirements:<br/>- auth-client scopes: "workspace"<br/>- user permission: "write" or higher
post/api/workspaces/{workspaceId}/duplicate
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/workspaces/{workspaceId}/duplicate
- Auth: HTTP bearer
Path parameters
workspaceIdstring uuid 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.