List server providers

List all the server providers for you account, so you can create a server with these details

GET api/user/server-providers

Example request:

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

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "data": [
        {
            "id": 1,
            "label": "My Upcloud Provider",
            "name": "UpCloud",
            "created_at": "2019-01-01 09:00:00",
            "provider": {
                "name": "UpCloud",
                "logo": "https://ploi.io/images/providers/upcloud.svg",
                "plans": [
                    {
                        "id": "1xCPU-1GB",
                        "name": "1xCPU-1GB",
                        "description": "1024MB RAM - CPU 1 cores - Disk: 25GB"
                    },
                    {
                        "id": "1xCPU-2GB",
                        "name": "1xCPU-2GB",
                        "description": "2048MB RAM - CPU 1 cores - Disk: 50GB"
                    },
                    {
                        "id": "2xCPU-4GB",
                        "name": "2xCPU-4GB",
                        "description": "4096MB RAM - CPU 2 cores - Disk: 80GB"
                    },
                    {
                        "id": "4xCPU-8GB",
                        "name": "4xCPU-8GB",
                        "description": "8192MB RAM - CPU 4 cores - Disk: 160GB"
                    },
                    {
                        "id": "6xCPU-16GB",
                        "name": "6xCPU-16GB",
                        "description": "16384MB RAM - CPU 6 cores - Disk: 320GB"
                    },
                    {
                        "id": "8xCPU-32GB",
                        "name": "8xCPU-32GB",
                        "description": "32768MB RAM - CPU 8 cores - Disk: 640GB"
                    },
                    {
                        "id": "12xCPU-48GB",
                        "name": "12xCPU-48GB",
                        "description": "49152MB RAM - CPU 12 cores - Disk: 960GB"
                    },
                    {
                        "id": "16xCPU-64GB",
                        "name": "16xCPU-64GB",
                        "description": "65536MB RAM - CPU 16 cores - Disk: 1280GB"
                    },
                    {
                        "id": "20xCPU-128GB",
                        "name": "20xCPU-128GB",
                        "description": "131072MB RAM - CPU 20 cores - Disk: 2048GB"
                    },
                    {
                        "id": "20xCPU-96GB",
                        "name": "20xCPU-96GB",
                        "description": "98304MB RAM - CPU 20 cores - Disk: 1920GB"
                    }
                ],
                "regions": [
                    {
                        "id": "de-fra1",
                        "name": "Frankfurt #1"
                    },
                    {
                        "id": "fi-hel1",
                        "name": "Helsinki #1"
                    },
                    {
                        "id": "fi-hel2",
                        "name": "Helsinki #2"
                    },
                    {
                        "id": "nl-ams1",
                        "name": "Amsterdam #1"
                    },
                    {
                        "id": "sg-sin1",
                        "name": "Singapore #1"
                    },
                    {
                        "id": "uk-lon1",
                        "name": "London #1"
                    },
                    {
                        "id": "us-chi1",
                        "name": "Chicago #1"
                    },
                    {
                        "id": "us-sjo1",
                        "name": "San Jose #1"
                    }
                ]
            }
        },
    ],
    "links": {
        "first": "https://ploi.io/api/user/server-providers?page=1",
        "last": "https://ploi.io/api/user/server-providers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "path": "https://ploi.io/api/user/server-providers",
        "per_page": 15,
        "to": 1,
        "total": 1
    }
}