access-token: ********************
{ "is_lock": 1 }
curl --location --request PUT '/admin/switchs//lock' \ --header 'access-token: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "is_lock": 1 }'
{ "success": true }