action dracoon_update_general_settings { label: "Update general settings" description: "

🚀 Since v4.6.0

\n\n### Description: \nDRACOON general settings configuration entry point. \nChange configurable general settings.\n\n### Precondition:\nRight 🔓 change global config and\nrole 👤 Config Manager of the Provider Customer required.\n\n### Postcondition:\nOne or more general settings gets changed.\n\n### Further Information:\nAuth token restrictions are enabled by default.\n \n* Default access token validity: **2 hours** \n* Default refresh token validity: **30 days**\n\n### Configurable general settings:\n
\nExpand\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| `sharePasswordSmsEnabled` | Determines whether sending of share passwords via SMS is allowed. | `true or false` |\n| `cryptoEnabled` | Determines whether client-side encryption is enabled.
Can only be enabled once; disabling is **NOT** possible. | `true or false` |\n| `emailNotificationButtonEnabled` | Determines whether email notification button is enabled. | `true or false` |\n| `eulaEnabled` | Determines whether EULA is enabled.
Each user has to confirm the EULA at first login. | `true or false` |\n| `s3TagsEnabled` | Determines whether S3 tags are enabled | `true or false` |\n| `authTokenRestrictions` | Determines auth token restrictions. (e.g. restricted access token validity) | `object` |\n\n
\n\n### Deprecated configurable general settings:\n
\nExpand\n\n| Setting | Description | Value |\n|:----------------------------------| :--- | :--- |\n| `mediaServerEnabled` | Determines whether media server is enabled.
**CANNOT** be enabled if media server configuration is disabled in `core-service.properties`.
Check `mediaServerConfigEnabled` with `GET /system/config/settings/infrastructure`. | `true or false` |\n| `weakPasswordEnabled` | Determines whether weak password is allowed.
Use `PUT /system/config/policies/passwords` API to change configured password policies. | `true or false` |\n| `hideLoginInputFields` | Determines whether input fields for login should be enabled | `true or false` |\n\n
" provider: dracoon method: PUT path: "/v4/system/config/settings/general" encoding: json input: { type: "object" properties: { "X-Sds-Auth-Token": { type: "string" } authTokenRestrictions: { type: "object" description: "Request model for updating auth token settings" required: ["overwriteEnabled"] properties: { accessTokenValidity: { type: "integer" format: "int32" description: "🚀 Since v4.13.0\n\nRestricted OAuth access token validity (in seconds)" } overwriteEnabled: { type: "boolean" description: "🚀 Since v4.13.0\n\nDefines if OAuth token restrictions are enabled" } refreshTokenValidity: { type: "integer" format: "int32" description: "🚀 Since v4.13.0\n\nRestricted OAuth refresh token validity (in seconds)" } } } cryptoEnabled: { type: "boolean" description: "Activation status of client-side encryption.\n\nCan only be enabled once; disabling is not possible." } emailNotificationButtonEnabled: { type: "boolean" description: "Enable email notification button" } eulaEnabled: { type: "boolean" description: "Each user has to confirm the EULA at first login." } hideLoginInputFields: { type: "boolean" description: "🚧 Deprecated since v4.13.0\n\nDefines if login fields should be hidden" } mediaServerEnabled: { type: "boolean" description: "🚧 Deprecated since v4.12.0\n\nDetermines if the media server is enabled" } s3TagsEnabled: { type: "boolean" description: "🚀 Since v4.9.0\n\nDefines if S3 tags are enabled" } sharePasswordSmsEnabled: { type: "boolean" description: "Allow sending of share passwords via SMS" } weakPasswordEnabled: { type: "boolean" description: "🚧 Deprecated since v4.14.0\n\nAllow weak password\n\n* A weak password has to fulfill the following criteria:\n\n * is at least 8 characters long\n\n * contains letters and numbers\n\n* A strong password has to fulfill the following criteria in addition:\n\n * contains at least one special character\n\n * contains upper and lower case characters\n\nPlease use `PUT /system/config/policies/passwords` API to change configured password policies." } } additionalProperties: false } output: { type: "object" description: "General settings" properties: { authTokenRestrictions: { type: "object" description: "Auth token restrictions" properties: { accessTokenValidity: { type: "integer" format: "int32" description: "🚀 Since v4.13.0\n\nRestricted OAuth access token validity (in seconds)" } refreshTokenValidity: { type: "integer" format: "int32" description: "🚀 Since v4.13.0\n\nRestricted OAuth refresh token validity (in seconds)" } restrictionEnabled: { type: "boolean" description: "🚀 Since v4.13.0\n\nDefines if OAuth token restrictions are enabled" } } } cryptoEnabled: { type: "boolean" description: "Activation status of client-side encryption.\n\nCan only be enabled once; disabling is not possible." } emailNotificationButtonEnabled: { type: "boolean" description: "Enable email notification button" } eulaEnabled: { type: "boolean" description: "Each user has to confirm the EULA at first login." } hideLoginInputFields: { type: "boolean" description: "🚧 Deprecated since v4.42.0\n\nDefines if login fields should be hidden" } mediaServerEnabled: { type: "boolean" description: "🚧 Deprecated since v4.12.0\n\nDetermines if the media server is enabled" } s3TagsEnabled: { type: "boolean" description: "🚀 Since v4.9.0\n\nDefines if S3 tags are enabled" } sharePasswordSmsEnabled: { type: "boolean" description: "Allow sending of share passwords via SMS" } useS3Storage: { type: "boolean" description: "Defines if S3 is used as storage backend" } weakPasswordEnabled: { type: "boolean" description: "🚧 Deprecated since v4.14.0\n\nAllow weak password\n\n* A weak password has to fulfill the following criteria:\n\n * is at least 8 characters long\n\n * contains letters and numbers\n\n* A strong password has to fulfill the following criteria in addition:\n\n * contains at least one special character\n\n * contains upper and lower case characters\n\nPlease use `GET /system/config/policies/passwords` API to get configured password policies." } } } }