Skip to main content
Mutation

connectCalDavAccount

Discovers an authenticated public HTTPS CalDAV server and saves encrypted credentials for the session user. Use an app password where required. Discovery and redirects stay on the configured origin.

Arguments

  • passwordString!

    CalDAV password or app password, encrypted at rest and never returned.

  • urlString!

    Public HTTPS CalDAV server, home or collection URL.

  • usernameString!

    CalDAV login name, kept encrypted.

Returns

ProviderAccount!

Example

mutation ConnectCalDavAccount($password: String!, $url: String!, $username: String!) {
  connectCalDavAccount(password: $password, url: $url, username: $username) {
    id
    name
    provider
  }
}