PATCH
/
workspace-sections
/
{id}
curl --request PATCH \
  --url https://api.dock.so:4000/{version}/workspace-sections/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isHidden": false
}'
{
  "data": {
    "workspaceSection": {
      "id": "RiHO4e0Ju3DS",
      "updatedAt": "2021-01-01T00:00:00.000Z",
      "createdAt": "2021-01-01T00:00:00.000Z",
      "object": "workspaceSection",
      "url": "https://api.dock.us/v1/workspace-sections/RiHO4e0Ju3DS",
      "name": "Planning",
      "navigationName": "Home",
      "index": 0,
      "isHidden": false,
      "isSynced": false,
      "isCollaborative": false,
      "isHiddenFromNavigation": false,
      "templateSectionId": "RiHO4e0Ju3DS"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier

Example:

"RiHO4e0Ju3DS"

Query Parameters

properties
enum<string>[]

Select the workspace section properties that should be returned

Available options:
name,
navigationName,
isHidden,
index,
isSynced,
isCollaborative,
isHiddenFromNavigation,
createdAt,
updatedAt,
templateSectionId

Body

application/json
isHidden
boolean

Whether the section is hidden

Example:

false

Response

200
application/json
Update a workspace section by ID
data
object