Spaces method and path for this operation:
delete /s/{space_id}/api/fleet/agents/files/{fileId}
Refer to Spaces for more information.
Delete a file uploaded by an agent.
[Required authorization] Route required privileges: fleet-agents-all.
DELETE /api/fleet/agents/files/{fileId}
curl \ --request DELETE 'https://localhost:5601/api/fleet/agents/files/{fileId}' \ --header "Authorization: $API_KEY" \ --header "kbn-xsrf: true"