Offline mode
Save the Offline mode settings.
Changed onOnly administrators can call this endpoint. Saving the settings is what enables Offline mode for the organisation. The settings are held in a single row, so saving again updates that row instead of creating a second one.
post/offline/settings.json
Request
- Base URLhttps://passbolt.local
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"max_session_duration": 3600,
"data_retention_period": 7,
"max_items": 1000
}Response
Operation is successful
Example response
{
"header": {
"servertime": 1720702619,
"message": "The operation was successful.",
"url": "/auth/verify.json",
"code": 200
},
"body": {
"max_session_duration": 3600,
"data_retention_period": 7,
"max_items": 1000
}
}Changes
- info
endpoint added
- info