Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


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



Overview

The Get Tiers API retrieves all the tiers associated with a specified workload.  

You can use the Get Workloads API to find the workloadID (id). 



Sample request

GET https://api.armor.com/apps/1/tiers

Input

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

API Call / URLMethod / Type

/apps/{appId}/tiers

GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionRequired or optionalTypeExample
appIdThe ID of the workload that contains the tierRequiredInteger1



Sample return

StatusResponse
200
{
 "tiers": [
   {
     "id": 5,
     "name": "New Tier 1",
     "vms":[]
   },
   {
     "id": 7,
     "name": "New Tier 3",
     "vms": []
   }
 ]
}
400