CRUD
Workspaces
Update an existing workspace
Returns updated workspace with its sanitised data.<br/>Requirements:<br/>- auth-client scopes: "workspace"<br/>- user permission: "write" or higher
put/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
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.