Try it free

Delete a settings object

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Delete a Dynatrace settings object by its ID with the Settings API, using optimistic locking so that you don't remove an object someone just changed.

DELETESaaShttps://{your-environment-id}.apps.dynatrace.com/platform/settings/v1/objects/{object-id}

Overview

You use the object-id path parameter to delete one settings object. The required optimistic-locking-version query parameter must match the stored version, so the deletion fails if someone changed the object in the meantime. With the admin-access query parameter set to true and the settings:objects:admin permission, you can act on objects you don't own.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
object-idstring

The ID of the required settings object

pathRequired
optimistic-locking-versionstring

The version of the object for optimistic locking. You can use it to detect simultaneous modifications by different users.

It's generated upon retrieval (GET requests). If set on update (PUT request) or deletion, the update/deletion will be allowed only if there wasn't any change between the retrieval and the update.

queryRequired
admin-accessboolean

If set to true and user has settings:objects:admin permission, the endpoint will act as if the user is the owner of all objects

queryOptional
validate-onlyboolean

If true, the request runs only validation for the deletion of the settings object, without actually deleting it.

queryOptional

Response

Response codes

CodeDescription
204

Success. Response doesn't have a body.

400-
403-
404-
409-
429-
503-
4XX-
5XX-
Related tags
Platform APIDynatrace Platform