GET /session/invalidateAll/{userId}

Internal Endpoint

This endpoint is available only for services within the yuuvis® Momentum cluster. Never expose it for public access in the authentication-prod.yml configuration file.

As of Version

product version 2022 Summer

Request MethodGET
Response FormatJSON
Description

Invalidates all active sessions of the user specified by userId.

If the request was successfully processed, the response body is empty. The response does not inform about the number of invalidated sessions for the specified user. Especially, if the specified user has no active sessions, the endpoint does not invalidate any session but still confirms that the request was successfully processed.

In case an error occurs, the request body contains details.

Request Example

curl http://authentication-internal/session/invalidateAll/406b5a28-7a8b-4c36-a569-df7bff480375

Response Example

200 OK

{}