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.
| PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/hub/extensions2/{extensionName}/metadata |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/hub/extensions2/{extensionName}/metadata |
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.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| extensionName | string | Fully qualified name of the extension | path | required |
| body | object | - | body | optional |
RequestBody object| Element | Type | Description | Required |
|---|---|---|---|
| description | string | - | optional |
| logo | string | Logo of the extension | optional |
| name | string | If left empty or blank, the extension name will be used as name | optional |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"description": "string","logo": "string","name": "string"}
| Code | Type | Description |
|---|---|---|
| 204 | - | Extension metadata uploaded |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |