Learn R Programming

qbr (version 1.3.0)

clone_token: Clone a user token

Description

Make a copy of the supplied token and returns its value.

Usage

clone_token(
  subdomain,
  auth,
  agent = NULL,
  clone_name = NULL,
  clone_desc = NULL
)

Value

A character vector with one element containing the token clone.

Arguments

subdomain

Character vector with one element. Found at the beginning of the Quickbase URL. Realm specific.

auth

Character vector with one element. The Quickbase authentication scheme you are using to authenticate the request (e.g., user token).

agent

Optional. Character vector with one element. Describes user/agent making API call.

clone_name

Optional. Character vector with one element. Name the token clone.

clone_desc

Optional. Character vector with one element. Provide a description for the token clone.

References

Quickbase API documentation

Examples

Run this code
if (FALSE) {
   x <- clone_token(subdomain = "abc",
                    auth = keyring::key_get("qb_example"),
                    clone_name = "My new token",
                    clone_desc = "This clone was created using R")
}

Run the code above in your browser using DataLab