Methods
- name
- Type:
string
The name of the API key to be created.
- id
- Type:
string
The id of the API key to delete.
- id
- Type:
string
The id of the API key to disable.
- id
- Type:
string
The id of the API key to enable.
- id
- Type:
string
The id of the API key to fetch.
allAPIKeys()
Promise<Array>
Fetches the user API keys associated with the current user.
Returns:Promise<Array>
createAPIKey(name)
Promise<void>
Creates a user API key that can be used to authenticate as the current user.
Parameters:
Promise<void>
deleteAPIKey(id)
Promise<void>
Deletes a user API key associated with the current user.
Parameters:
Promise<void>
disableAPIKey(id)
Promise<void>
Disables a user API key associated with the current user.
Parameters:
Promise<void>
enableAPIKey(id)
Promise<void>
Enables a user API key associated with the current user.
Parameters:
Promise<void>
fetchAPIKey(id)
Promise<Object>
Fetches a user API key associated with the current user.
Parameters:
Promise<Object>