Skip to content

Admin API endpoint to terminate specified sessions #4687

@nktknshn

Description

@nktknshn

Is your feature request related to a problem? Please describe.
I'm developing an API that allows a user to change their password and end all other sessions. I need a way to terminate every session except the current one. There's a kill-sessions subcommand in mas-cli, but nothing similar is exposed in the admin API.

Describe the solution you'd like
It would be great to have an endpoint that accepts session IDs and finishes those sessions.

Describe alternatives you've considered
I don't see any.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions