UtilitiesLAN
clearSiteDeviceDot1xSession
Clear Dot1x Session. The output will be available through websocket.
Authorization<token>
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
site_id*string
Format
uuiddevice_id*string
Format
uuidRequest Body
application/json
Request Body
Request body for clearing dot1x sessions on switch ports
ports?array<string>
Port IDs whose dot1x sessions should be cleared
Response Body
curl -X POST "https://example.com/api/v1/sites/000000ab-00ab-00ab-00ab-0000000000ab/devices/000000ab-00ab-00ab-00ab-0000000000ab/clear_dot1x" \ -H "Content-Type: application/json" \ -d '{ "ports": [ "ge-0/0/0" ] }'{ "session": "19e73828-937f-05e6-f709-e29efdb0a82b"}clearBpduErrorsFromPortsOnSwitch POST
Clear bridge protocol data unit (BPDU) error condition caused by the detection of a possible bridging loop from Spanning Tree Protocol (STP) operation that renders the port unoperational.
clearSiteDevicePendingVersion POST
Clear device pending fw version (Available on Junos OS EX2300-, EX3400-, EX4000-, EX4100-, EX4400- devices)