username

Manages username and other related settings for the system default accounts, root, admin, user, and other user created accounts.

Resource URIs

URI Description

/rest/config/running/data/username

Username configuration and management.

POST URIs Payload Description

/rest/config/running/data/username

<name> <{name}> </name> <password> <{password}> </password> <role> <{role}> </role>

Configures the username, password, and role for a user account. The system default accounts, root, admin, user, and user defined accounts can be configured.

DELETE URIs

/rest/config/running/data/username

Usage Guidelines

POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.

Parameters

name
The name of the user account being configured. Can be one of the system default accounts, root, admin and user. User created accounts can also be manged through this REST call.
password
The password for the account being managed.
role
The role of the account being managed.

Examples

URI

The following example configures the system default admin account for the device.

http://host:80/rest/config/running/username

<name>
	admin
</name>
<password>
	passwordadmin
</password>
<role>
	admin
</role>
				

None