Herald
OpenapiAuth

Logout user and invalidate session

Clears the session cookie and invalidates the user's session token.

GET
/api/auth/{realmId}/logout

Clears the session cookie and invalidates the user's session token.

Path Parameters

realmId*string

Realm ID

Response Body

application/json

application/json

curl -X GET "https://example.com/api/auth/string/logout"
{  "message": "string"}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}