Delete all user app states for a specific app in Dynatrace with the State Management API by providing the appId path parameter.
| DELETE | SaaS | https://{your-environment-id}.apps.dynatrace.com/v1/{appId}/user-app-states |
You use the appId path parameter to identify which app to clear. Dynatrace returns no content when the State Management API deletes all user app states for all users of that app.
To execute this request, you need a platform token or OAuth access token with state-management:user-app-states:delete-all scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| appId | string | Specify the explicit appId of the state | path | Required |
| Code | Description |
|---|---|
| 204 | - |
| 401 | - |
| 403 | - |
| 500 | - |
| default | - |