clone_token {qbr}R Documentation

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
)

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.

Value

A character vector with one element containing the token clone.

References

Quickbase API documentation

Examples

## Not run: 
   x <- clone_token(subdomain = "abc",
                    auth = keyring::key_get("qb_example"),
                    clone_name = "My new token",
                    clone_desc = "This clone was created using R")

## End(Not run)

[Package qbr version 1.2.3 Index]