Try it free

Delete all app states for an app

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Delete all app states for a specific app in Dynatrace with the State Management API by providing the appId path parameter.

DELETESaaShttps://{your-environment-id}.apps.dynatrace.com/v1/{appId}/app-states

Overview

You use the appId path parameter to identify which app state set to clear. Dynatrace returns no content when the State Management API deletes all app states for that app.

Authentication

To execute this request, you need a platform token or OAuth access token with state-management:app-states:delete scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
appIdstring

Specify the explicit appId of the state

pathRequired

Response

Response codes

CodeDescription
204-
401-
403-
500-
default-
Related tags
Platform APIDynatrace Platform