Try it free

Update a dashboard share

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Update one of your Dynatrace dashboard shares with the Public Access API, such as its name, locale, timezone, or refresh interval, or refresh its snapshot.

PUTSaaShttps://{your-environment-id}.apps.dynatrace.com/v1/shares/{shareId}

Overview

You use the shareId path parameter to choose the share and send the new values in the request body, such as locale, timezone, name, sessionTimeoutMinutes, and refreshIntervalMinutes. Set the update-document query parameter to true to re-fetch the dashboard document and refresh the share's document snapshot.

Authentication

To execute this request, you need a platform token or OAuth access token with public-access:shares:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
shareIdstring

The UUID of the share config

pathRequired
update-documentboolean

When true, re-fetches the document, refreshes documentSnapshotDate/documentVersion, saves the new snapshot, and evicts this share's caches.

queryOptional
bodyUpdateShareRequest-bodyRequired

Request body objects

The UpdateShareRequest object

ElementTypeDescriptionRequired
localestring

Locale for the current user. ISO-639 language code with optional ISO-3166 country code, separated by a hyphen or underscore (e.g. en-US, de-AT, fr).

Required
timezonestring

Timezone for the current user. IANA time zone ID (e.g. Europe/Vienna, UTC, America/New_York).

Required
namestring

Name of the share

Required
sessionTimeoutMinutesinteger

Session timeout in minutes (ignored when passcode.enabled is false)

Optional
refreshIntervalMinutesinteger

Refresh interval in minutes

Required
expirationDatestring

Expiration date in ISO 8601 format

Optional
variablesobject

Dashboard variables

Optional
timeframeTimeframe

Timeframe override

Required
segmentsFilterSegment[]

Filter segments

Optional
passcodePasscodeInput-Required
iframeEmbeddingIframeEmbedding-Required

The Timeframe object

ElementTypeDescriptionRequired
fromstring

Start of the timeframe as a relative or absolute expression parseable by the Dynatrace time parser (e.g. now()-2h, -1d@d, 2024-01-01T00:00:00Z).

Required
tostring

End of the timeframe as a relative or absolute expression parseable by the Dynatrace time parser (e.g. now(), -1h@h, 2024-12-31T23:59:59Z).

Required

The FilterSegment object

ElementTypeDescriptionRequired
idstring

Segment ID

Optional
variablesFilterSegmentVariable[]-Optional

The FilterSegmentVariable object

ElementTypeDescriptionRequired
namestring

Variable name

Optional
valuesstring[]

Variable values

Optional

The PasscodeInput object

ElementTypeDescriptionRequired
enabledboolean

Whether passcode protection is enabled for the share config

Required

The IframeEmbedding object

ElementTypeDescriptionRequired
enabledboolean

Whether iframe embedding is enabled for this share

Required

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"locale": "en",
"timezone": "Europe/Vienna",
"name": "string",
"sessionTimeoutMinutes": 1,
"refreshIntervalMinutes": 1,
"expirationDate": "2030-01-01T00:00:00Z",
"variables": {},
"timeframe": {
"from": "now()-2h",
"to": "now()"
},
"segments": [
{
"id": "string",
"variables": [
{
"name": "string",
"values": [
"string"
]
}
]
}
],
"passcode": {
"enabled": true
},
"iframeEmbedding": {
"enabled": true
}
}

Response

Response codes

CodeTypeDescription
200ShareResponse

Updated share config

404--
4XX--
5XX--

Response body objects

The ShareResponse object

ElementTypeDescription
idstring

Share UUID

documentIdstring

ID of the document being shared

namestring

Name of the share

expirationDatestring

Expiration date in ISO 8601 format

creationDatestring

Creation date of the share in ISO 8601 format

variablesobject

Dashboard variables

timeframeTimeframe

Timeframe override

filterSegmentsFilterSegment[]

Filter segments

localestring

Locale (e.g. en-US)

timezonestring

Timezone (e.g. Europe/Vienna)

typestring

Share type

The element can hold these values
  • dashboard
sessionTimeoutMinutesinteger

Session timeout in minutes; null when passcode is disabled

refreshIntervalMinutesinteger

Refresh interval in minutes

ipAllowListobject-
passcodePasscodeInfo-
iframeEmbeddingIframeEmbedding-
documentSnapshotDatestring

Date when the document snapshot was captured in ISO 8601 format

documentVersioninteger

Document version at the time the snapshot was captured

The Timeframe object

ElementTypeDescription
fromstring

Start of the timeframe as a relative or absolute expression parseable by the Dynatrace time parser (e.g. now()-2h, -1d@d, 2024-01-01T00:00:00Z).

tostring

End of the timeframe as a relative or absolute expression parseable by the Dynatrace time parser (e.g. now(), -1h@h, 2024-12-31T23:59:59Z).

The FilterSegment object

ElementTypeDescription
idstring

Segment ID

variablesFilterSegmentVariable[]-

The FilterSegmentVariable object

ElementTypeDescription
namestring

Variable name

valuesstring[]

Variable values

The PasscodeInfo object

ElementTypeDescription
enabledboolean

Whether passcode protection is enabled

valuestring

The passcode value; null when passcode is disabled

The IframeEmbedding object

ElementTypeDescription
enabledboolean

Whether iframe embedding is enabled for this share

Response body JSON models

{
"id": "string",
"documentId": "string",
"name": "string",
"expirationDate": "string",
"creationDate": "string",
"variables": {},
"timeframe": {
"from": "now()-2h",
"to": "now()"
},
"filterSegments": [
{
"id": "string",
"variables": [
{
"name": "string",
"values": [
"string"
]
}
]
}
],
"locale": "string",
"timezone": "string",
"type": "dashboard",
"sessionTimeoutMinutes": 1,
"refreshIntervalMinutes": 1,
"ipAllowList": {
"enabled": true
},
"passcode": {
"enabled": true,
"value": "string"
},
"iframeEmbedding": {
"enabled": true
},
"documentSnapshotDate": "string",
"documentVersion": 1
}
Related tags
Platform APIDynatrace Platform