Delete any dashboard share configuration in your Dynatrace environment by its share ID as an admin with the Public Access API to revoke its public link.
| DELETE | SaaS | https://{your-environment-id}.apps.dynatrace.com/v1/admin/shares/{shareId} |
You use this admin operation with the shareId path parameter to remove any dashboard share configuration in your environment, regardless of who created it. Once deleted, the public URL no longer gives anonymous viewers access to the dashboard snapshot. A 204 response confirms the deletion.
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.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| shareId | string | The UUID of the share config | path | Required |
| Code | Description |
|---|---|
| 204 | Shared config deleted |
| 404 | - |
| 4XX | - |
| 5XX | - |