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

Remove Uniqe id or ID with Curl #1088

Open
tjeerd13 opened this issue Mar 18, 2017 · 1 comment
Open

Remove Uniqe id or ID with Curl #1088

tjeerd13 opened this issue Mar 18, 2017 · 1 comment
Labels

Comments

@tjeerd13
Copy link

tjeerd13 commented Mar 18, 2017

Hello,

Is it possible to remove a uniqeId of id with a Curl command? to use the device id/uniqeId would be great :)

To list devices i use:
curl -v --cookie "JSESSIONID=<id>" http://10.0.0.2/traccar/rest/getDevices

How can i use the Delete command someone an exmaple?

Somthin like this,

url -v --cookie "JSESSIONID=<id>" DELETE --data http://10.0.0.2/traccar/rest/

???

Thanks

@vitalidze
Copy link
Owner

The approach should be same as when you call the updateDevice method. You can read #753 issue for some additional information with examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants