Create custom device via Dynatrace API

The Topology & Smartscape—Custom device API enables you to create a custom device with a specified name in your Dynatrace environment.

For this use case the series element of the request body must be omitted.

The request consumes and produces application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/entity/infrastructure/custom/{entityAlias}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/entity/infrastructure/custom/{entityAlias}

See Report custom device metric via Dynatrace API to learn how to submit data to the newly created custom device.