Delete the authorized user’s app states for a Dynatrace app 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/self |
You use the appId path parameter to identify which app’s state to clear. The operation deletes the authorized user’s app states for that app and returns no content on success.
To execute this request, you need a platform token or OAuth access token with state-management:user-app-states:delete 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 | - |