Just for completeness, is there a method to push a logout call via the api?
I have searched documentation,cant see anything.
I see in sugar there is a logout, but nothing as to detail.
The only reason I ask, is Im writing a small ustility in C# to add/edit records via API and I was just looking to ensure I cleanup after completing a task.
Happy to just have the token expire, if nothing exists
Thanks Brendan. I just had a chat with Daniel, who is developing the API v8, and he’s still considering some future stuff about the login/logout mechanism. We might add such a function in the future. He asked if you could please open an issue on GitHub suggesting the creation of the Logout function, as a reminder, and then we’ll see what we do with when we evolve the API.
Another thing - I don’t know what plans and restrictions you have for your code, but if it’s something that you are free to share with the Community, please consider it. It might be good to start adding more examples to our API documentation and your work could probably fit there. Of course there could be a million reasons not to share the code, no problem if that is the case! Thanks anyway!
Regards to documentation of the code, I will look to create something an an example application. I’m only using a few functions, but having some documentation is better than nothing!