action dracoon_update_notification_config {
label: "Update notification configuration"
description: "
🚀 Since v4.20.0
\n\n### Description: \nUpdate notification configuration for current user. \n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nNotification configuration is updated.\n\n### Further Information:\nLeave `channelIds` empty to disable notifications."
provider: dracoon
method: PUT
path: "/v4/user/notifications/config/{id}"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
channelIds: {
type: "array"
description: "List of notification channel IDs.\n\nLeave empty to disable notifications."
items: {
type: "integer"
format: "int32"
description: "List of notification channel IDs.\n\nLeave empty to disable notifications."
}
}
id: {
type: "integer"
format: "int64"
}
}
required: ["channelIds", "id"]
additionalProperties: false
}
output: {
type: "object"
description: "Notification configuration information"
required: ["channelIds", "eventTypeName", "id", "scopeId"]
properties: {
channelIds: {
type: "array"
description: "List of notification channel IDs"
items: {
type: "integer"
format: "int32"
description: "List of notification channel IDs"
}
}
eventTypeName: {
type: "string"
description: "Event type name"
}
id: {
type: "integer"
format: "int64"
description: "Notification configuration ID"
}
scopeId: {
type: "integer"
format: "int32"
description: "Scope ID"
}
}
}
}