Delete agent binary download source by ID

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.

Headers

  • kbn-xsrf string Required

    Kibana's anti Cross-Site Request Forgery token. Can be any string value.

Path parameters

  • sourceId string Required

Responses

  • 200 application/json

    OK

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

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • 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: string"