access-token: ********************curl --location '/admin/datacenters?page=undefined&page_size=undefined&name=undefined&geographicg=undefined&bandwidth=undefined&power=undefined&order=undefined&sort=undefined' \
--header 'api-access: 1' \
--header 'admin-access: 1' \
--header 'access-token: <api-key>'{
"success": true,
"datacenters": [
{
"id": 0,
"name": "string",
"geographicg": "string",
"bandwidth": 0,
"voltage": 0,
"switch_ports": [
{
"switch_id": "string",
"ports_id": [
"string"
]
}
],
"power": 0,
"contact": {
"name": "string",
"tel": "string",
"email": "string"
},
"internal_cidr": "string",
"vlan_os": 0,
"speed_os": 0,
"arp_os": 0,
"reinstall_limit": 0,
"hardware_check_limit": 0,
"serial_number_rule_id": null,
"created_at": 0,
"updated_at": 0,
"server_stock": {
"total": 0,
"rent": 0,
"hosting": 0,
"self-use": 0
},
"server_status": {
"total": 0,
"on": 0,
"off": 0,
"unknown": 0
},
"open_other_options": 0
}
],
"total": 0
}