Terminate sessions by attribute
DELETE/management/session
Terminates all sessions associated with a user identified by an attribute name and value pair,
such as ?attributeName=ch.nevis.session.loginid&attributeValue=jdoe.
The attributeName parameter must match one of the attributes configured for session indexing
in nevisAuth; if omitted, it defaults to the first configured attribute.
All matching sessions are removed in bulk; sessions concurrently deleted by other processes are silently ignored.
This endpoint does not trigger SAML Single Logout. If OIDC back-channel logout is configured,
it sends logout tokens to the OIDC clients of the terminated sessions by default
(end reason MANAGEMENT_DELETE). Complement it with application-level logout flows
for a fully coordinated user logout.
Request
Responses
- 204
- 400
- 500
All matching sessions terminated; concurrently deleted sessions are silently ignored
attributeValue is blank or missing, or attributeName is not an indexed session attribute
Internal server error