Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
TypeScript
const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ servers: [ { hostname: '<string>', bmcAddress: '<string>', serialNumber: '<string>', tags: {} } ] }) }; fetch('https://api.example.com/v1/regions/{region}/infrastructure/servers/batch', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "hostname": "<string>", "regionId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "serialNumber": "<string>", "bmcAddress": "<string>", "profileId": "<string>", "specs": { "cpu": "<string>", "memoryGB": 123, "storageGB": 123, "nics": 123 }, "tags": {}, "updatedAt": "2023-11-07T05:31:56Z" } ], "meta": { "total": 123 } }
Enroll multiple servers at once. Accepts an array of server objects.
Region identifier
Show child attributes
Servers enrolled
true
Was this page helpful?