users_get_api_keys {civis} | R Documentation |
Show the specified API key
Description
Show the specified API key
Usage
users_get_api_keys(id, key_id)
Arguments
id |
string required. The ID of the user or 'me'. |
key_id |
integer required. The ID of the API key. |
Value
A list containing the following elements:
id |
integer, The ID of the API key. |
name |
string, The name of the API key. |
expiresAt |
string, The date and time when the key expired. |
createdAt |
string, The date and time when the key was created. |
revokedAt |
string, The date and time when the key was revoked. |
lastUsedAt |
string, The date and time when the key was last used. |
scopes |
array, The scopes which the key is permissioned on. |
useCount |
integer, The number of times the key has been used. |
expired |
boolean, True if the key has expired. |
active |
boolean, True if the key has neither expired nor been revoked. |
constraints |
array, An array containing the following fields:
|