Page tree


In This Document 



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.




Overview

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

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


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