services_list_tokens {civis}R Documentation

List tokens

Description

List tokens

Usage

services_list_tokens(id)

Arguments

id

integer required. The ID of the service.

Value

An array containing the following fields:

id

integer, The ID of the token.

name

string, The name of the token.

user

list, A list containing the following elements:

  • id integer, The ID of this user.

  • name string, This user's name.

  • username string, This user's username.

  • initials string, This user's initials.

  • online boolean, Whether this user is online.

machineToken

boolean, If true, this token is not tied to a particular user.

expiresAt

string, The date and time when the token expires.

createdAt

string, The date and time when the token was created.


[Package civis version 3.1.2 Index]