List Providers

Fetch the list of infrastructure providers, whether they are configured for the hub or not.

query
  • meta

    Accepted Values: locations

  • sort

    Sorts can be performed on any field - see sorting

  • filter

    Collections of resources can be filtered based on certain criteria - see filtering  Accepted filters: search

Returns

Returns a list of provider resources, otherwise returns an Error.

GET /v1/infrastructure/providers

Example Request
$ curl https://api.cycle.io/v1/infrastructure/providers \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-Hub-Id: HUB_ID"
Example Response
{
"data": [
{
"id": "59544adc9b150a87da042d4c",
"name": "Equinix Metal",
"identifier": "equinix-metal",
"website": "https://metal.equinix.com",
"required_fields": {
"api_key": {
"caption": "API Key",
"regex": "^[a-zA-Z0-9\\-]{32}$"
},
"secret": {
"caption": "Project ID",
"regex": "^([a-z0-9]+\\-){4}([a-z0-9]+)$"
}
},
"features": [
"Bare Metal",
"IPv4",
"IPv6",
"Block Storage"
]
}
]
}