Page tree


Armor Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to kb@armor.com.

The Get Authenticated User Info API returns information about the current authenticated user, including account membership and permissions. 

This API call applies to both Armor Complete and Armor Anywhere users.

Sample Request


GET https://api.armor.com/me


Input


The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/me GET

There are no parameters for this API call. 


Sample Return


StatusResponse
200
  {
   "user": {
     "type": "user",
     "username": "test.dev@armor.com",
     "firstName": "Development",
     "lastName": "Test",
     "links": {
       "userId": 2
     }
   },
   "accounts": [
     {
       "id": 2,
       "currency": "USD
        ",
       "name": "Development Test Account",
       "status": "Claimed",
       "parent": 1,
       "products": null
     }
   ],
   "permissions": {
     "2": [
       "1",
       "15"
           ]
   },
   "features": [
     {
       "accountId": 2,
       "feature": "AA-CORE",
       "productId": 1,
       "featureId": null
     },
     {
       "accountId": 2,
       "feature": "ARMOR-COMPLETE.OPERATING-SYSTEM-PATCHING",
       "productId": 2,
       "featureId": 3
     },
     {
       "accountId": 2,
       "feature": "ARMOR-COMPLETE",
       "productId": 2,
       "featureId": 10
     }
   ]
  }
400
Bad Request




Was this helpful?
Your Rating: Results: 1 Star2 Star3 Star4 Star5 Star 3 rates