Updates the global configuration of the specified OneAgent or JMX extension.
The request produces an application/json
payload.
PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/extensions/{id}/global |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/extensions/{id}/global |
To execute this request, you need an access token with WriteConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the extension to be updated.
The JSON body of the request. Contains updated configuration of the extension.
GlobalExtensionConfiguration
objectGlobal Configuration of OneAgent and JMX extension
The extension is enabled (true
) or disabled (false
).
The ID of the extension.
The plugin is enabled (true
) or disabled (false
) globally for hosts in infrastructure-only monitoring mode
The list of configuration parameters.
Each parameter is a key-value pair.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"id": "custom.remote.python.demo","properties": [{"defaultValue": "127.0.0.1","key": "serverIp","type": "STRING"},{"defaultValue": "","key": "password","type": "PASSWORD"},{"defaultValue": "dynatrace","key": "username","type": "STRING"},{"defaultValue": "one","dropdownValues": ["one","two","three"],"key": "dropdownProperty","type": "DROPDOWN"}]}
Success. Extension configuration has been updated. Response doesn't have a body.