Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

POST https://squirro-endpoint/api/topic/v0/(string: tenant)/projects/(id: project_id)/reset

Parameters:
  • tenant – User tenant.
  • project_id – Project identifier.
JSON Data
  • reset_dashboards – Boolean flag to decide whether to reset the project dashboards or not. If True, will delete all the dashboards in the current project. Defaults to False if not specified.
  • reset_elasticsearch_index – Boolean flag to decide whether to reset/delete all documents in a project’s elasticsearch index or not without deleting the index itself. Defaults to False if not specified.
  • reset_facets – Boolean flag to decide whether to delete all the facets in the project. This needs the reset_elasticsearch_index flag to be set to True. Be aware that all the dashboards and other Squirro entities dependent on the current facets will stop working with the reset of facets. Defaults to False if not specified.
Headers:See Common Headers.
Status Codes:
  • 200 – Squirro Project entities were reset.

See also Common Status Codes.