action dracoon_update_system_defaults {
label: "Update system defaults"
description: "
🚀 Since v4.6.0
\n\n### Description: \nDRACOON system defaults configuration entry point. \nChange configurable system default values.\n\n### Precondition:\nRight 🔓 change global config and\nrole 👤 Config Manager of the Provider Customer required.\n\n### Postcondition:\nOne or more system default values gets changed.\n\n### Further Information:\nNone.\n\n### Configurable default values\n\nExpand
\n\n| Setting | Description | Value |\n| :--- | :--- | :--- |\n| `languageDefault` | Defines which language should be default. | `ISO 639-1 code` |\n| `downloadShareDefaultExpirationPeriod` | Default expiration period for Download Shares in _days_. | `Integer between 0 and 9999`
Set `0` to disable. |\n| `uploadShareDefaultExpirationPeriod` | Default expiration period for Upload Shares in _days_. | `Integer between 0 and 9999`
Set `0` to disable. |\n| `fileDefaultExpirationPeriod` | Default expiration period for all uploaded files in _days_. | `Integer between 0 and 9999`
Set `0` to disable. |\n| `nonmemberViewerDefault` | Defines if new users get the role _Non Member Viewer_ by default | `true or false` |\n\n "
provider: dracoon
method: PUT
path: "/v4/system/config/settings/defaults"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
downloadShareDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for Download Shares in days."
}
fileDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for all uploaded files in days."
}
languageDefault: {
type: "string"
description: "Define which language should be default."
}
nonmemberViewerDefault: {
type: "boolean"
description: "🚀 Since v4.12.0\n\nDefines if new users get the role Non Member Viewer by default"
}
uploadShareDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for Upload Shares in days."
}
}
additionalProperties: false
}
output: {
type: "object"
description: "System defaults"
properties: {
downloadShareDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for Download Shares in days."
}
fileDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for all uploaded files in days."
}
hideLoginInputFields: {
type: "boolean"
description: "🚧 Deprecated since v4.42.0\n\nDefines if login fields should be hidden"
}
languageDefault: {
type: "string"
description: "Define which language should be default."
}
nonmemberViewerDefault: {
type: "boolean"
description: "🚀 Since v4.12.0\n\nDefines if new users get the role Non Member Viewer by default"
}
uploadShareDefaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default expiration period for Upload Shares in days."
}
}
}
}