API Reference
Client
Logout

Logout the user from the current Okto session. This will remove the user's session from the Okto server and the user will have to login again to access the resources.

Headers

Authorization : string
Authorization token received from Okto.


Parameters

None

Code

curl -X POST '${baseUrl}/api/v1/logout' 
-H 'x-api-key: YOUR_CLIENT_API_KEY'
-H 'accept: application/json' 
-H 'Authorization: Bearer AUTH_TOKEN'

Response

{
    "status": "success",
}