Terminating user session
    • PDF

    Terminating user session

    • PDF

    Article summary

    Available in Classic and VPC

    Terminate an active user session.

    Requests

    • POST /users/{userId}/sessions/expire

    Request Path

    ParametersRequirement statusTypeRestrictionsDescription
    userIdYStringUser Id

    Request bodies

    {
        "sessionIds": ["String", "String"]
    }
    
    ParametersRequirement statusTypeDescriptionRestrictions
    sessionIdsNArraySession ID list

    Responses

    Response bodies

    [{
      "id": "String",
      "success": "boolean",
      "message": "String"
    }]
    
    ParametersTypeDescriptionRestrictions
    [].idStringSession ID
    [].successBooleanSuccess status
    [].messageStringError message when failed

    Errors

    Errors that specifically occur while using this Action are listed below. For error response format, see Error Response.
    For more description about common errors, see NAVER Cloud Platform API.

    HTTP status codeError codeError message
    400400Invalid request.
    4009050The user does not exist.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.