Skip to contents

Updates an integration on a NocoDB server via its PATCH /api/v2/meta/integrations API endpoint.

Usage

update_integration(
  id_integration,
  connection = NULL,
  title = NULL,
  type = NULL,
  sub_type = NULL,
  search_paths = NULL,
  hostname = pal::pkg_config_val("hostname"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token")
)

Arguments

id_integration

character(1)
NocoDB integration identifier as returned by integration_id().

connection

Subtype-specific connection details for database integrations. A list.

title

pkgsnip::type("chr") NocoDB integration title.

type

pkgsnip::type("chr") NocoDB integration type. One of "database", or NULL for any type.

sub_type

pkgsnip::type("chr") NocoDB integration subtype. One of "mysql2", "pg" or "sqlite3", or NULL for any subtype.

search_paths

Database search paths (schemas) to expose for the "pg" integration. A character vector.

hostname

NocoDB server hostname. A character scalar.

email

E-mail address of the NocoDB user to authenticate with.

password

Password of the NocoDB user to authenticate with.

api_token

NocoDB API token. Takes precedence over email and password if provided.

Value

A tibble with metadata about the updated NocoDB integration, invisibly.

See also

Other functions to manage NocoDB integrations: create_integration(), delete_integration(), integration(), integration_id(), integrations()