APM agent configuration
Delete agent configuration
Spaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/apm/settings/agent-configuration</span></div>Refer to Spaces for more information.
Delete an existing agent configuration. You must have all privileges for the APM and User Experience feature in Kibana. When successful, the configuration is removed and, if Fleet is enabled, APM package policies are synchronized accordingly.
delete/api/apm/settings/agent-configuration
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/apm/settings/agent-configuration
- Auth
- API key in header Authorization
- or HTTP basic
Headers
elastic-api-version'2023-10-31' required
The version of the API to use
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Example request
{
"service": {
"environment": "prod",
"name": "node"
}
}Response
Successful response
Changes
No operation changes recorded.