Restful web services Documentation
As per documentation you can do like this.

Logout

GET http://example.com/user/logout
Content-type: text/html
200 - OK


Note: Do not pass "?_format=json" it is not accepting.