create_api_key {gofigR}R Documentation

Creates a new API key. This function will only succeed if using password authentication.

Description

Creates a new API key. This function will only succeed if using password authentication.

Usage

create_api_key(gf, name)

Arguments

gf

GoFigr client. Must be using password authentication.

name

human-readable name of the API key to create, e.g. "John's laptop"

Value

response JSON. The "token" property will contain the API key if successful.


[Package gofigR version 0.3.1 Index]