• Home
  • Dynatrace API
  • Environment
  • Hub items
  • PUT an extension 2.0 metadata

Hub capabilities API - PUT an extension 2.0 metadata

Updates the metadata of an extension 2.0 that doesn't have Dynatrace-defined metadata. Any existing metadata is overwritten.

The request consumes a multipart/form-data payload.

PUTManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/metadata
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/hub/extensions2/{extensionName}/metadata
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/metadata

Authentication

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

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

Parameters

ParameterTypeDescriptionInRequired
extensionNamestring

Fully qualified name of the extension

pathrequired
bodyobject-bodyoptional

Request body objects

The RequestBody object

ElementTypeDescriptionRequired
logostring

Logo of the extension

optional
namestring

If left empty or blank, the extension name will be used as name

optional
descriptionstring-optional

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

json
{ "logo": "string", "name": "string", "description": "string" }

Response

Response codes

CodeDescription
204

Extension metadata uploaded