CRUD
Workspaces
Create a new workspace
Returns newly created workspace with its sanitised data.<br/>Requirements:<br/>- auth-client scopes: "workspace"<br/>- user permission: "write" or higher
post/api/workspaces
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/workspaces
- Auth: HTTP bearer
Query parameters
actAsAdminboolean
Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.
Request body
Example request
{
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}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.