/
EA
eagleeyenetworks
/
DEVICES
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 4w ago · Updated 4w ago
Details
View markdown
Accounts
2
Action Rules
5
Actions
5
Alerts
3
Application OAuth Clients
5
Applications
7
Auditlog
1
Available Devices
1
Bridges
11
Cameras
15
Client Settings
1
Contract Vault
2
Device I/O
6
Downloads
4
Editions
2
Event Alert Rules
6
Event Metrics
1
Event Subscriptions
8
Event Types
1
Events
5
Exports
2
Feeds
1
Files
11
Floor Plans
4
Floors
5
Jobs
3
Layouts
5
Locations
6
LPR Events
4
LPR Rules
6
LPR Vehicle Lists
14
Media
4
Multi Cameras
6
Notifications
3
PTZ
4
Resource Grants
3
Roles
8
Speakers
7
SSO
2
Switches
6
get
/switches
get
/switches/{switchId}
patch
/switches/{switchId}
post
/switches/{switchId}/actions
post
/switches/{switchId}/ports/{portId}/actions
post
/switches/{switchId}/ports/all/actions
Tags
1
Tokens
1
Users
9
Video Analytics Events
7
VSP Visits
1
Switches
All ports can be turned On, Off or power cycled with this endpoint.
post
/switches/{switchId}/ports/all/actions
Request body
ApiSwitchPortUpdate
required
action
'enable'
|
'disable'
|
'reboot'
required
Possible values:
enable
- Turn on the port. *
disable
- Turn off the port. *
reboot
- Power cycle the port.
Response
Ports Updated