PATCH
/
workspace-pages
/
{id}
curl --request PATCH \
  --url https://api.dock.so:4000/{version}/workspace-pages/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "isHidden": false
}'
{
  "data": {
    "workspacePage": {
      "id": "RiHO4e0Ju3DS",
      "updatedAt": "2021-01-01T00:00:00.000Z",
      "createdAt": "2021-01-01T00:00:00.000Z",
      "object": "workspacePage",
      "url": "https://api.dock.us/v1/workspace-pages/RiHO4e0Ju3DS",
      "name": "Planning",
      "navigationName": "Home",
      "isHidden": false,
      "index": 0,
      "templatePageId": "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 page properties that should be returned

Available options:
name,
navigationName,
isHidden,
index,
createdAt,
updatedAt,
templatePageId

Body

application/json
isHidden
boolean

Hidden property of the workspace page

Example:

false

Response

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