Parameterized API key loading #3
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Users should be able to use other approaches to loading API keys. The following approaches seem useful, although certainly there are others:
GetApiKeys()
- The current approach using theGetApiKeys
endpointGetApiKeys(customerId)
- UseGetApiKeys
customerId
parameter to filter API keys. The API key'scustomerId
field must match itsvalue
field.GetApiKeys(name)
- UseGetApiKeys
nameQuery
parameter to filter API keys. The API key'sname
field must match itsvalue
field.These values should be given in a
String
parameter. If the API key cannot be found with the given method, then unauthorized.The text was updated successfully, but these errors were encountered: