Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you delete/forget devices? #147

Closed
travisghansen opened this issue Sep 14, 2016 · 5 comments
Closed

How do you delete/forget devices? #147

travisghansen opened this issue Sep 14, 2016 · 5 comments

Comments

@travisghansen
Copy link

During testing I've had several different test devices I'd like to remove all traces of. What's the best way to approach that?

Thanks!

@jpmens
Copy link
Member

jpmens commented Sep 16, 2016

In Recorder, change to your configured store directory and remove the corresponding .rec files and their containing directories. Alternatively, you can do this via the HTTP API using the kill command (if it's been compiled in).

@travisghansen
Copy link
Author

kill command doesn't seem to work

curl http://127.0.0.1:8083/api/0/kill -d user=thansen -d device=htcm8wl
no comprendo
curl "http://127.0.0.1:8083/api/0/kill?user=thansen&device=htcm8wl"
no comprendo

Am I doing that wrong?

@jpmens
Copy link
Member

jpmens commented Sep 17, 2016

If it's been compiled in means if you built it with WITH_KILL ?= yes
Alternatively, just remove the files and you'll be done with it.

@travisghansen
Copy link
Author

Ah I'm running in the docker image..is it not in there? I can delete for sure just want to make sure I'm not doing something incorrectly.

@jpmens
Copy link
Member

jpmens commented Sep 18, 2016

Ah, kill is not in the Docker image.
Just delete the .rec files, making sure you delete the ones you really no longer want/need.

@jpmens jpmens closed this as completed Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants