Invalidate user sessions
POST
Invalidates all active sessions for a user by updating their min_issued_at timestamp.
header
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).
Format
uuidResponse message returned after successfully invalidating all sessions.
application/json- response
Response 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'Example Response
{}Was this page helpful?
