sensu / sensu-go

Simple. Scalable. Multi-cloud monitoring.
https://sensu.io
MIT License
1.02k stars 176 forks source link

Add new sensuctl delete command #4383

Open calebhailey opened 3 years ago

calebhailey commented 3 years ago

Feature Suggestion

Need ability to delete API resources which are not fully supported by sensuctl (e.g. sensuctl delete <api_version>/<api_resource_type> <resource name>).

Possible Implementation

Should work similarly to sensuctl edit.

calebhailey commented 3 years ago

Since this is a lower level tool (requiring knowledge of API resource versions/types), I wonder if we ought to allow more advanced operations. For example, if this command explicitly doesn't perform any validation when deleting resources, could it be used to delete users?