Update

Update

Certified

Update a Notion database

yaml
type: io.kestra.plugin.notion.database.Update
yaml
id: notion_update_database
namespace: company.team

tasks:
  - id: update_db
    type: io.kestra.plugin.notion.database.Update
    apiToken: "{{ secret('NOTION_API_TOKEN') }}"
    databaseId: "12345678-1234-1234-1234-123456789abc"
    title: "Updated Project Tracker"
    databaseDescription: "Tracks all active projects managed by the data team."

yaml
id: notion_rename_database
namespace: company.team

tasks:
  - id: rename_db
    type: io.kestra.plugin.notion.database.Update
    apiToken: "{{ secret('NOTION_API_TOKEN') }}"
    databaseId: "12345678-1234-1234-1234-123456789abc"
    title: "Q2 Sprint Board"
Properties
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
type*Requiredobject
passwordstring
usernamestring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
readIdleTimeoutstring
DefaultPT5M