• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Custom property validator on a set

Settings 2.0 - Custom property validator on a set schema

Custom Property-Validator on a set (builtin:example.custom-validation.property-validator-for-set)

Showcase of Custom Property-Validators working on a set property and executed in the cluster.

It will check that no duplicate email addresses (case insensitive) wil be added to the set.

For the Java implementation check out ExamplePropertyValidatorForSetSchema.java

Schema IDSchema groupsScope
builtin:example.custom-validation.property-validator-for-set
  • group:example
environment
environment-default
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-set
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-set
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:example.custom-validation.property-validator-for-set

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
emailSetEmailsset

A set of email addresses. This list may not contain duplicate entries (case insensitive).

required