DELETE /api/fleet/outputs/{outputId}

Spaces method and path for this operation:

delete /s/{space_id}/api/fleet/outputs/{outputId}

Refer to Spaces for more information.

Delete output 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

  • outputId string Required

    The ID of the output

Responses

  • 200 application/json

    Successful response

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

    Bad Request

    Hide response attributes Show response attributes object
    • attributes Required
    • error string
    • errorType string
    • message string Required
    • statusCode number
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • attributes Required
    • error string
    • errorType string
    • message string Required
    • statusCode number
DELETE /api/fleet/outputs/{outputId}
curl \
 --request DELETE 'https://localhost:5601/api/fleet/outputs/{outputId}' \
 --header "Authorization: $API_KEY" \
 --header "kbn-xsrf: true"
Response examples (200)
The output was successfully deleted
{
  "id": "output-id-1"
}
Response examples (400)
Example of a generic error response
{
  "error": "Bad Request",
  "message": "An error message describing what went wrong",
  "statusCode": 400
}
Response examples (404)
No output was found with the given ID
{
  "error": "Not Found",
  "message": "Output output-id-1 not found",
  "statusCode": 404
}