cURL
curl --request GET \ --url http://anchored.host/api/plans \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Plans retrieved successfully!", "plans": [ { "id": "budget-2c-4gb", "name": "Small", "description": "Perfect for small projects and websites.", "shared": true, "threads": 2, "memory": 4096, "memoryUnit": "MB", "storage": 20, "storageUnit": "GB", "bandwidth": 2000, "bandwidthUnit": "GB", "price": 500 } ] }
Fetches a list of plans sorted by memory in ascending order.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response with plans data
true
"Plans retrieved successfully!"
Show child attributes