Get server provider

Get a specific server provider from your account.


GET/api/user/server-providers/{provider}

Get server provider

This endpoint returns a specific server provider including its available plans and regions. You can use this information when creating new servers.

Request

GET
/api/user/server-providers/{provider}
curl -G "https://ploi.io/api/user/server-providers/{provider}" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Response

{
  "data": {
    "id": 1,
    "label": "My Upcloud Provider",
    "name": "UpCloud",
    "created_at": "2019-01-01 09:00:00",
    "provider": {
      "name": "UpCloud",
      "logo": "/images/docs/upcloud.svg",
      "plans": [
        {
          "id": "1xCPU-1GB",
          "name": "1xCPU-1GB",
          "description": "1024MB RAM - CPU 1 cores - Disk: 25GB"
        }
      ],
      "regions": [
        {
          "id": "de-fra1",
          "name": "Frankfurt #1"
        },
        {
          "id": "nl-ams1",
          "name": "Amsterdam #1"
        }
      ]
    }
  }
}