Cisco Nexus 3000 and 9000 Series NX-API REST SDK and API, Release 7.x
NX-OS 7(x)
- Cisco Nexus 3000 and 9000 Series NX-API REST Documentation
- Cisco Nexus 3000 and 9000 Series NX-API REST SDK User Guide and API Reference, Release 7.x
- Getting Started with the Cisco Nexus 3000 and 9000 Series NX-API REST SDK
- New and Changed
- Manageability
- Configuring System Management
- Configuring VXLAN BGP EVPN
- Configuring Fundamentals
- Configuring Power Modes
- Configuring Interfaces
- Configuring Static MPLS and Segment Routing
- Configuring Netstack
- Configuring Layer 2 Switching
- Configuring Multicast
- Configuring QoS
- Configuring TCAM
- Configuring Security
- Configuring Unicast Routing
- Configuring ARP
- Configuring DNS
- Configuring OSPFv2
- Configuring BGP
- Configuring a BGP Router
- Configuring an IPv4 Labeled Unicast Address Family
- Configuring an IPv4 Multicast Address Family
- Configuring an IPv4 MVPN Address Family
- Configuring an IPv4 Unicast Address Family
- Configuring an IPv6 Labeled Unicast Address Family
- Configuring an IPv6 Multicast Address Family
- Configuring an IPv6 MVPN Address Family
- Configuring an IPv6 Unicast Address Family
- Configuring an L2VPN EVPN Address Family
- Configuring a Link-State Address Family
- Configuring a VPNv4 Unicast Address Family
- Configuring a VPNv6 Unicast Address Family
- Configuring a Peer Template
- Configuring a BGP Neighbor
- Configuring a BMP Server
- Configuring EVPN
- Querying Ephemeral Data
- Configuring VRF
- First-Hop Redundancy Protocols
- Configuring Static Routes
- Configuring Route Policy Manager
- Configuring Telemetry
- Querying Analytic Information
- Querying Configurations (Show Commands)
- Querying Interface and VLAN Counters and Statistics
- Using the Managed Object Browser
- Monitoring the Environment
Setting User Information
DME
YANG
CopyPOST http://<IP_Address>/api/mo/sys/userext.json
{
"aaaUserEp": {
"children": [
{
"aaaUser": {
"attributes": {
"allowExpired": "no",
"expiration": "2020-12-01T00:00:00.000+00:00",
"expires": "yes",
"name": "UserA",
"pwd": "xcvF!tryu",
"pwdEncryptType": "clear"
}}}]}}
{
imdata:[]
}
Copy<System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device">
<userext-items>
<user-items>
<User-list>
<name>UserA</name>
<allowExpired>no</allowExpired>
<expiration>2020-12-01T00:00:00.000+00:00</expiration>
<expires>yes</expires>
<pwd>xcvF!tryu</pwd>
<pwdEncryptType>clear</pwdEncryptType>
</User-list>
</user-items>
</userext-items>
</System>