Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2876

Supply a REST user session resource with a DELETE operation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.5.3
    • REST, SSO
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Request URIs:

      DELETE /user/{username}/session
      DELETE /user/{username}/session?exclude={token}
      

      shall delete all sessions maintained for the specified user. This effectively logs them out everywhere.

      If an exclude parameter is provided, presumably using the token in the current browser, then that session (if it exists) is excluded. If it does not exist, there is no error.

      Response status:

      • 404 Not Found - if the user does not exist
      • 205 Reset Content - otherwise (and no body content is returned)

      If you insist on maintain the terrible URI formats for user resources, they'll have to look like this:

      DELETE /user/session?username={username}
      DELETE /user/session?username={username}&exclude={token}
      

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jgraham@atlassian.com JoshA
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 22m
                  22m