Try it free

Validate a settings property

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Validate a Dynatrace settings property value with a custom validator using the Settings API before you save the settings object it belongs to.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/values/{schema-id}:validate-property

Overview

You use the schema-id path parameter and the required validator-id query parameter to validate one property value with a custom validator of the schema. The optional scope and schema-version query parameters set the context. Typical usage is validating user input in a settings editor while the user types.

Authentication

To execute this request, you need a platform token or OAuth access token with settings:schemas:read scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
schema-idstring

The ID of the schema.

pathRequired
scopestring

The ID of the scope.

queryOptional
validator-idstring

The identifier of the validator.

queryRequired
schema-versionstring

Version of the schema.

queryOptional
bodyCustomPropertyValidationRequest

The JSON body of the request. Contains the settings object to be validated.

bodyRequired

Request body objects

The CustomPropertyValidationRequest object

The request payload for a custom validation of a single property value.

ElementTypeDescriptionRequired
pathstring

The path of the property being validated.

Optional
intValueinteger

The property value.

Optional
floatValuenumber

The property value.

Optional
stringValuestring

The property value.

Optional
booleanValueboolean

The property value.

Optional
arrayValue-

The property value.

Optional

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.

{
"path": "string",
"intValue": 1,
"floatValue": 1,
"stringValue": "string",
"booleanValue": true,
"arrayValue": [
{}
]
}

Response

Response codes

CodeTypeDescription
200ValidationResponse

Validated. Details in the response body.

404--
429--
503--
4XX--
5XX--

Response body objects

The ValidationResponse object

ElementTypeDescription
validboolean-
messagestring-
constraintViolationsViolationResponse[]-

The ViolationResponse object

ElementTypeDescription
messagestring-
pathstring-

Response body JSON models

{
"valid": true,
"message": "string",
"constraintViolations": [
{
"message": "string",
"path": "string"
}
]
}
Related tags
Platform APIDynatrace Platform