Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The Get API keys API retrieves the API key associated with a specified user. 

Note
You can use this information to find the ID of the API key.
Note
You  You can use the Get Users API to find the user ID.


Sample Request

Code Block
languagetext
themeMidnight
GET https://api.armor.com/users/6/keys

...

API Call / URLMethod / Type
/users/{id}/keysGET


Excerpt Include
ESLP:Parameters to include (snippet)
ESLP:Parameters to include (snippet)
nopaneltrue
 

ParameterDescriptionRequired or optionalOptionalTypeExample
id

The ID of the user

Note

You can use the Get Users API to find the ID of your users.

RequiredInteger6

Sample Return

StatusResponse
200
Code Block
languagetext
themeMidnight
  {
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "Example Key Name",
  "createdDate": "2018-08-15T00:00:00-05:00",
  "lastUsed": "2018-08-15T21:27:27.7336369Z",
  "keyStatus": "True"
}