URI | Description |
---|---|
<base_URI>/config/running/username | Configuration of local users. |
Restricts the hours during the day that the user may be logged in. By default, users are granted 24 hour access. Time values are given in 24 hour format. For example, to restrict access to the daily work schedule, use access-time 0800 to 1800.
GET, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/username
None
<username xmlns="urn:brocade.com:mgmt:brocade-aaa" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/username/admin"> <name>admin</name> <password>"BwrsDbB+tABWGWpINOVKoQ==\n"</password> <encryption-level>7</encryption-level> <role>admin</role> <desc>Administrator</desc> </username> <username xmlns="urn:brocade.com:mgmt:brocade-aaa" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/username/user1"> <name>user1</name> <password>"Zzq31Rtf/++XZ3uIC1keMw==\n"</password> <encryption-level>7</encryption-level> <role>user</role> <desc>user1</desc> <expire>2016-06-06</expire> <access-time>1700</access-time> <to>1800</to> </username>
The following is an example of the DELETE operation to remove a user name.
http://host:80/rest/config/running/username/user3
None
None