• Home
  • Dynatrace API
  • Configuration
  • Services
  • Custom services
  • DELETE a rule

Custom services API - DELETE a custom service rule

Deletes the specified custom service rule.

DELETEManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/config/v1/service/customServices/{technology}/{id}
SaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/service/customServices/{technology}/{id}
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/service/customServices/{technology}/{id}

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
technologystring

Technology of the custom service to delete.

The element can hold these values
  • dotNet
  • go
  • java
  • nodeJS
  • php
pathrequired
idstring

The ID of the custom service to delete.

pathrequired

Response

Response codes

CodeDescription
204

Deleted. Response does not have a body.

Related topics
  • Define custom services

    Define entry points (a method, class, or interface) for custom services that don't use standard protocols.