Terminating user session
- Print
- PDF
Terminating user session
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
Terminate an active user session.
Requests
- POST /users/{userId}/sessions/expire
Request Path
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
userId | Y | String | User Id |
Request bodies
{
"sessionIds": ["String", "String"]
}
Parameters | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
sessionIds | N | Array | Session ID list |
Responses
Response bodies
[{
"id": "String",
"success": "boolean",
"message": "String"
}]
Parameters | Type | Description | Restrictions |
---|---|---|---|
[].id | String | Session ID | |
[].success | Boolean | Success status | |
[].message | String | Error 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 code | Error code | Error message |
---|---|---|
400 | 400 | Invalid request. |
400 | 9050 | The user does not exist. |
Was this article helpful?