Skip to content

Pause, resume, re-time or reconfigure a public link.

PATCH
/dashboards/{id}/shares/{share_id}
curl --request PATCH \
--url https://api.siteqwality.com/dashboards/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/shares/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "paused": true, "expires_at": "2026-04-15T12:00:00Z", "config": { "allowed_times": [ "example" ], "default_time": "example", "theme": "light", "variables": { "additionalProperty": { "locked": true, "allowed": [ "example" ] } } } }'

Absent fields are kept; expires_at: null removes the expiry.

id
required
string format: uuid

Dashboard id

share_id
required
string format: uuid

Link id

Media type application/json

Absent fields are kept; expires_at: null removes the expiry.

object
paused
boolean | null
expires_at
string | null format: date-time
config
One of:
null

The link

Media type application/json
object
id
required
string format: uuid
url_token
required

The capability in https://app.siteqwality.com/share/d/<token>.

string
config
required
object
allowed_times

Presets a viewer may pick, from 15m 1h 4h 1d 2d 7d 30d 90d.

Array<string>
default_time

One of allowed_times.

string
theme
string
Allowed values: light dark auto
variables
object
key
additional properties

How a public viewer may use one variable. A variable the share does not list is locked to the dashboard default.

object
locked
boolean
allowed

The values a viewer may pick; null allows every value (and All when the variable includes it).

array | null
paused
required
boolean
expires_at
string | null format: date-time
created_by
One of:
null
created_at
required
string format: date-time
last_accessed_at
string | null format: date-time
access_count
required
integer format: int64
Example
{
"config": {
"theme": "light"
}
}

Invalid settings

Missing or invalid authentication

Locked, the caller cannot edit dashboards, or is a connected app

No such dashboard or link

Internal server error