CRUD
Workspaces
Patch an existing workspace
Returns the whole updated workspace with its sanitised data.<br>Note: also supports patching description as a Markdown string.<br/>Requirements:<br/>- auth-client scopes: "workspace"<br/>- user permission: "write" or higher
patch/api/workspaces/{workspaceId}
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/workspaces/{workspaceId}
- 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.