System API Commands
nv show system api
nv show system api Show NVUE external REST API configuration. |
|
Syntax Description |
N/A |
Default |
N/A |
History |
25.02.2xxx |
Example |
|
REST API |
GET https://<ip>/nvue_v1/system/api |
Related Commands |
nv set/unset system api state nv set/unset system api port |
Notes |
nv set/unset system api state
nv set/unset system api state Set the REST API external access state |
|
Syntax Description |
state: enabled/disabled |
Default |
enabled |
History |
25.02.2xxx |
Example |
|
REST API |
PATCH https://<ip>/nvue_v1/system/api |
Related Commands |
nv show system api |
Notes |
nv set/unset system api port
nv set/unset system api port <port> Set the REST API listen port |
|
Syntax Description |
port-number Port number of the remote syslog server: 1-65535 |
Default |
443 |
History |
25.02.2xxx |
Example |
|
REST API |
PATCH https://<ip>/nvue_v1/system/api |
Related Commands |
nv show system api |
Notes |
nv show system api mtls
nv show system api mtls Show configured CA certificate for API mTLS connections. |
||
Syntax Description |
N/A |
|
Default |
N/A |
|
History |
25.02.2xxx |
|
Example |
|
|
REST API |
GET https://<ip>/nvue_v1/system/api/mtls |
|
Related Commands |
||
Notes |
nv show system api |
nv set system api mtls ca-certificate
nv set system api mtls ca-certificate {cacert id} Set CA certificate for api mtls connection |
||
Syntax Description |
ca-certificate |
CA certificate ID string |
Default |
none |
|
History |
25.02.2xxx |
|
Example |
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/api/mtls?rev= Content-Type: application/json {"ca-certificate": "cacert_id"} |
|
Related Commands |
||
Notes |