Show API keys belonging to the specified user
users_list_api_keys( id, limit = NULL, page_num = NULL, order = NULL, order_dir = NULL )
id | string required. The ID of the user or 'me'. |
---|---|
limit | integer optional. Number of results to return. Defaults to its maximum of 50. |
page_num | integer optional. Page number of the results to return. Defaults to the first page, 1. |
order | string optional. The field on which to order the result set. Defaults to id. Must be one of: id. |
order_dir | string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc. |
An array containing the following fields:
integer, The ID of the API key.
string, The name of the API key.
string, The date and time when the key expired.
string, The date and time when the key was created.
string, The date and time when the key was revoked.
string, The date and time when the key was last used.
array, The scopes which the key is permissioned on.
integer, The number of times the key has been used.
boolean, True if the key has expired.
boolean, True if the key has neither expired nor been revoked.
integer, The number of constraints on the created key