Delete an agent binary download source

View as Markdown
DELETE /api/fleet/agent_download_sources/{sourceId}

Spaces method and path for this operation:

delete /s/{space_id}/api/fleet/agent_download_sources/{sourceId}

Refer to Spaces for more information.

Delete an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-settings-all.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • sourceId string Required

Responses

  • 200 application/json

    OK: A successful request.

    Hide response attribute Show response attribute object
    • id string Required
  • 400 application/json

    A bad request.

    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
DELETE /api/fleet/agent_download_sources/{sourceId}
curl \ --request DELETE 'https://localhost:5601/api/fleet/agent_download_sources/{sourceId}' \ --header "Authorization: $API_KEY" \ --header "kbn-xsrf: true"