token: ********************curl --location '/admin/switchs/scripts/?page=undefined&page_size=undefined&label=undefined&switch_id=undefined&type=undefined' \
--header 'token: <api-key>'{
"success": true,
"data": [
{
"id": 0,
"label": "string",
"type": 0,
"script": "string",
"variables": [],
"created_at": "string",
"updated_at": "string"
}
],
"total": 0
}