Spaces method and path for this operation:
delete /s/{space_id}/api/fleet/proxies/{itemId}
Refer to Spaces for more information.
Delete a proxy by ID
[Required authorization] Route required privileges: fleet-settings-all.
DELETE
/api/fleet/proxies/{itemId}
curl \
--request DELETE 'https://localhost:5601/api/fleet/proxies/{itemId}' \
--header "Authorization: $API_KEY" \
--header "kbn-xsrf: true"
Response examples (200)
The Fleet proxy was successfully deleted
{
"id": "proxy-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 proxy was found with the given ID
{
"error": "Not Found",
"message": "Fleet proxy proxy-id-1 not found",
"statusCode": 404
}