Invalidate user sessions
Это руководство доступно только на английском.
Полезна ли эта страница?
Это руководство доступно только на английском.
Полезна ли эта страница?
Invalidates all active sessions for a user by updating their min_issued_at timestamp.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the user whose sessions should be invalidated. Cannot be the ID of the requesting user (cannot invalidate own sessions via this method). Cannot be the root user ID (00000000-0000-0000-0000-000000000000).
uuidResponse message returned after successfully invalidating all sessions.
application/jsonResponse message returned after successfully invalidating all sessions. Empty response indicates success.
curl -X POST 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions:invalidate'{}curl -X POST 'http://127.0.0.1:38765/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions:invalidate'{}