# AUTH: User Logoff

This end-point will log the user out of any API-based sessions on all devices.

{% hint style="info" %}
Adding the parameter "single\_device=1" will only log out the current submitted bearer token (other api tokens will remain active). Omitting or setting this parameter to 0 will invalidate all bearer tokens of the corresponding profile.
{% endhint %}

## AUTH: Log a User out

> This end-point will log the user out of any API-based sessions on all devices.\
> \
> Adding the parameter "single\_device=1" will only log out the current submitted bearer token (other api tokens will remain active). Omitting or setting this parameter to 0 will invalidate all bearer tokens of the corresponding profile.

```json
{"openapi":"3.0.0","info":{"title":"Hybrid-Chain API Documentation and Specification","version":"1.0.0"},"servers":[{"url":"https://api.hybrid-chain.com/api/v1"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/auth/logout":{"get":{"tags":["Authentication"],"summary":"AUTH: Log a User out","description":"This end-point will log the user out of any API-based sessions on all devices.\n\nAdding the parameter \"single_device=1\" will only log out the current submitted bearer token (other api tokens will remain active). Omitting or setting this parameter to 0 will invalidate all bearer tokens of the corresponding profile.","parameters":[{"name":"single_device","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{}}}}}}}}
```
