cURL
curl --request POST \ --url https://sandbox.finhub.cloud/api/v2/auth/logout \ --header 'Content-Type: application/json' \ --header 'X-Forwarded-For: <x-forwarded-for>' \ --data '{ "userSessionToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." }'
{ "cleared": true, "message": "<string>", "success": true }
Logout user
Tenant identifier for multi-tenant operations
Forwarded client IP address
Client user agent information
Logout request details
The body is of type object.
object
Logout successful
The response is of type object.