Admin: Switches

Patch Switch

patch/api/admin/switches/{switch_id}

Request

  • Base URL: https://api.fiber.ac (the document declares no server; this is the origin it was published from)
  • URL: https://api.fiber.ac/api/admin/switches/{switch_id}
  • Auth: none declared

Path parameters

switch_idinteger required

Request body

vendor'arista' | 'cisco' | 'nvidia' | 'juniper' | 'unknown' nullable
modelstring nullable
rolestring nullable
rack_idstring nullable
pod_idstring nullable
mgmt_ipstring nullable
gnmi_portinteger nullable
tenant_idstring nullable
usernamestring nullable
passwordstring nullable
ssh_keystring nullable
auth_method'password' | 'ssh_key' | 'mtls' nullable
poll_interval_sinteger nullable
tls_insecureboolean nullable
enabledboolean nullable

Response

Successful Response

idinteger required
namestring required
vendorstring required
modelstring nullable
rolestring required
rack_idstring nullable
pod_idstring nullable
mgmt_ipstring nullable
gnmi_portinteger required
tenant_idstring required
enabledboolean required
onboarded_atstring date-time nullable
last_seen_atstring date-time nullable
last_probe_okboolean nullable
last_probe_errstring nullable
vendor_osstring nullable
vendor_os_verstring nullable
sourcestring required
source_refstring nullable
poll_interval_sinteger required
tls_insecureboolean required
config_versioninteger required
has_passwordboolean
has_ssh_keyboolean
auth_methodstring nullable
usernamestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.