Elastic Agents
Delete an uploaded file
Spaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/files/{fileId}</span></div>Refer to Spaces for more information.
Delete a file uploaded by an agent.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
delete/api/fleet/agents/files/{fileId}
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/agents/files/{fileId}
- Auth
- API key in header Authorization
- or HTTP basic
Path parameters
fileIdstring required
The ID of the uploaded file
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Response
Successful response
Changes
No operation changes recorded.