cloudos.configure: Configure Lifebit Platform Profile

View source: R/config.R

cloudos.configureR Documentation

Configure Lifebit Platform Profile

Description

Stores API credentials and workspace context for a named profile. This is the required first step before any API wrapper call.

Usage

cloudos.configure(
  profilename = "",
  apikey = "",
  workspace_id = "",
  base_url = "https://cloudos.lifebit.ai",
  set_default = FALSE
)

Arguments

profilename

Character. Name of the profile to create or update.

apikey

Character. API key for authentication.

workspace_id

Character. Workspace/team ID for API requests.

base_url

Character. Base URL for Lifebit Platform API (default: "https://cloudos.lifebit.ai").

set_default

Logical. If TRUE, sets this profile as the default (default: FALSE).

Value

Invisible NULL. Prints a success message.

Examples

## Not run: 
  cloudos.configure(
    profilename = "production",
    apikey = "your-api-key",
    workspace_id = "5c6d3e9bd954e800b23f8c62",
    set_default = TRUE
  )

## End(Not run)

cloudosR documentation built on June 1, 2026, 5:07 p.m.