AUTH: User Logoff

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.

AUTH: Log a User out

get

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.

Authorizations
Query parameters
single_deviceintegerOptionalExample: 1
Responses
200

Successful response

application/json
get
/auth/logout
GET /api/v1/auth/logout HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful response

No content

Last updated

Was this helpful?