Update a dashboard section

Updates an existing section by its ID. You only need to provide the fields you want to change.

PATCH https://telemetry.betterstack.com/api/v2/dashboards/{dashboard_id}/sections/{id}

URL parameters

dashboard_id
required integer
id
required integer

Headers

Authorization
required string

Body parameters

name
string
y
integer
collapsed
boolean
200

Response body

{
  "data": {
    "id": "890",
    "type": "section",
    "attributes": {
      "name": "Updated Section Name",
      "y": 12,
      "collapsed": true
    }
  }
}
404

Example Request

cURL
curl --request PATCH \
  --url https://telemetry.betterstack.com/api/v2/dashboards/1234/sections/890 \
  --header "Authorization: Bearer $TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
    "name": "Updated Section Name",
    "y": 12,
    "collapsed": true
  }'