Delete ackage Deprecated

View as Markdown
DELETE /api/fleet/epm/packages/{pkgkey}

Spaces method and path for this operation:

delete /s/{space_id}/api/fleet/epm/packages/{pkgkey}

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

  • pkgkey string Required
application/json

Body

  • force boolean

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • response array[object] Required
      Hide response attributes Show response attributes object
  • 400 application/json

    Generic Error

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
DELETE /api/fleet/epm/packages/{pkgkey}
curl \
 --request DELETE 'https://localhost:5601/api/fleet/epm/packages/{pkgkey}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: string" \
 --data '{"force":true}'