Delete a web or mobile frontend from Dynatrace Real User Monitoring with the RUM API by its Smartscape FRONTEND ID when you no longer monitor it.
| DELETE | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/rum/v1/frontends/{id} |
You use the id path parameter, the Smartscape FRONTEND ID, to delete a web or mobile frontend from Real User Monitoring. A 204 response confirms the deletion. Use this operation when you stop monitoring an application, for example to clean up frontends that you created with the create operation for testing or for apps that were retired.
To execute this request, you need a platform token or OAuth access token with rum:frontends:delete scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| id | string | Smartscape FRONTEND id. | path | Required |
| Code | Type | Description |
|---|---|---|
| 204 | - | Frontend deleted. |
| 400 | Error | Bad request. |
| 404 | Error | Frontend not found. |
| 4XX | Error | Client error. |
| 5XX | Error | Server error. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}