List cost centers

Request

GET http://{hostname}:{port}
  /landscaper/security/costcenter/
Accept: application/json
Table 1. Header parameters
Parameter Type Required Description
Accept application/json true

Example

curl -u jsmith:passwd 
  http://myserver.example.com:8080/landscaper/security/costcenter/
  -H "Accept: application/json"

Example response

[
  {
    "id": "931d4d48-ed00-428b-929c-8a788757a145",
    "name": "Amazon EC2",
    "source": "CLOUD"
  },
  {
    "id": "adbfe6b3-36d6-4689-964a-0e1d7db7fa01",
    "name": "My OpenStack Cloud",
    "source": "CLOUD"
  },
  {
    "id": "75a5aedd-233a-44a9-a656-b8c63a93f971",
    "name": "My UCD components",
    "source": "UCD"
  }
]