Delete file uploaded by agent

View as Markdown
DELETE /api/fleet/agents/files/{fileId}

Spaces method and path for this operation:

delete /s/{space_id}/api/fleet/agents/files/{fileId}

Refer to Spaces for more information.

Path parameters

  • fileId string Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • body object
      Hide body attributes Show body attributes object
      • deleted boolean
      • id string
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
DELETE /api/fleet/agents/files/{fileId}
curl \
 --request DELETE 'https://localhost:5601/api/fleet/agents/files/{fileId}' \
 --header "Authorization: $API_KEY"