Elastic Agents

Delete an uploaded file

Spaces method and path for this operation:

<div><span class="operation-verb delete">delete</span>&nbsp;<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}

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

deletedboolean required
idstring required

Changes

No changes recorded. 20 of the 176 revisions have no diff computed, so they could not be searched.