Remove all example/starter content from the workspace (SEED-04)
DELETE/api/v1/workspaces/example-data
Remove all is_example=True rows (geofences, devices, workflows) from the caller's workspace.
Only owners and managers can remove example data. Idempotent — calling again when no example rows remain still returns 200.
Returns: 200: {"removed": {"workflows": N, "devices": N, "geofences": N}} 403: if the caller is not an owner or manager 404: if the caller has no workspace
Request
Responses
- 200
- 401
- 403
- 404
- 422
OK
Unauthorized
Forbidden
Not Found
Validation Error