Create or update agent configuration

Server: https://{kibana_url}
  • PUT /api/apm/settings/agent-configuration
  • PUT /s/{space_id}/api/apm/settings/agent-configuration

Refer to Spaces for more information.

Create or update an agent configuration. You must have all privileges for the APM and User Experience feature in Kibana. When updating an existing configuration, the ?overwrite=true query parameter is required. If the configuration already exists and overwrite is not set to true, the API returns a 400 error. When successful and Fleet is enabled, APM package policies are synchronized accordingly.

Query Parameters

overwrite boolean

If the config exists ?overwrite=true is required

Responses