• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Settings function on-demand validation

Settings 2.0 - Settings function on-demand validation schema

Settings function on-demand validation (builtin:example.settings.functioncall)

Call an app-function with the body of the setting

Schema IDSchema groupsScope
builtin:example.settings.functioncall-
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.settings.functioncall
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:example.settings.functioncall
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.settings.functioncall

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
appApp nametext-required
functionFunctiontext-required
postRequestUse POST request with setting value as bodyboolean-required
overrideTokenUse custom OAuth token instead of the logged in user for function callboolean-required
oauthTokenUse custom OAuth token to use for the function callsecret

Function call won't work with the stored token - has to be entered again each time

required