Data purge
The permanent purge of the organization's data across every workspace. list counts what can be deleted, delete deletes it — it is irreversible and only accepts machine tokens with the delete level; a person purges from the dashboard — and get tracks the job.
| Command | HTTP | Description |
|---|---|---|
data-purges list | GET /v1/data_purges | Count purgeable data |
data-purges delete | DELETE /v1/data_purges | Purge organization data |
data-purges get | GET /v1/data_purges/{id} | Get purge job |
Examples
--params carries query, path and header parameters (id, page, filters, X-Workspace-Id); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.
# Count purgeable data
kobana dashboards data-purges list
# Purge organization data
kobana dashboards data-purges delete \
--json '{"resources": ["usage_history"], "confirm": "CONFIRMACAO"}' \
--dry-run
# Get purge job
kobana dashboards data-purges get --params '{"id": "PURGE_ID"}'
Next steps
- Backups
- Schema introspection — every parameter this resource accepts.