Set session expiration time
- Print
- PDF
Set session expiration time
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
- Set a session expiration time.
API
- POST /tenant-settings/sub-account-session-policy
Request
Body
{
"sessionExpirationSec": "integer",
"useSessionExpiration": "boolean"
}
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
sessionExpirationSec | N | integer | Session expiration period | |
useSessionExpiration | Y | boolean | Set session expiration |
Response
Parameter | Required | Type | Description |
---|---|---|---|
ProcessResult | Y | ProcessResult | Result of processing |
- Response Example - Success
{
"success": true
}
Error
Errors that may occur while using this action are listed below. For error response format, please see ErrorResponse.
For more information about common errors, refer to Naver Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 400 | This is an invalid parameter. |
Was this article helpful?