Try it free

Generate a passcode for any dashboard share as an admin

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Generate a new passcode for any dashboard share in your Dynatrace environment as an admin with the Public Access API to rotate access to its public link.

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

Overview

You use this admin operation with the shareId path parameter to generate a new passcode for any dashboard share configuration in your environment, regardless of who created it, for example to rotate access to a sensitive public link. A 200 response confirms that the passcode was generated.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
shareIdstring

The UUID of the share config

pathRequired

Response

Response codes

CodeTypeDescription
200PasscodeResponse

Passcode generated

404--
4XX--
5XX--

Response body objects

The PasscodeResponse object

ElementTypeDescription
passcodestring

The passcode for the share config

Response body JSON models

{
"passcode": "string"
}
Related tags
Platform APIDynatrace Platform