PARALLAX

cpm_user

Get and change user accounts on WTI OOB and PDU devices

Collection: wti.remote

Full Name: wti.remote.cpm_user

Synopsis

Get and change user accounts on WTI OOB and PDU devices

Parameters

NameTypeRequiredDefaultDescription
cpm_urlstringyesWTI device host or host:port
cpm_usernamestringyesWTI username; an empty username selects an API token
cpm_passwordstringyesWTI password or API token
cpm_actionstringyesgetuser, adduser, edituser, or deleteuser
user_namestringyesAccount name
user_passstringNew account password
user_accesslevelintAccess level
user_accesssshintSSH access
user_accessserialintSerial access
user_accesswebintWeb access
user_accessapiintAPI access
user_accessmonitorintMonitor access
user_accessoutboundintOutbound access
user_portaccessstringSerial port access mask
user_plugaccessstringPlug access mask
user_groupaccessstringGroup access mask
user_callbackphonestringCallback phone number
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Read one user from a WTI device
  wti.remote.cpm_user:
    cpm_action: getuser
    cpm_url: rest.wti.com
    cpm_username: restuser
    cpm_password: restfuluserpass12
    user_name: usernumberone
    use_https: true
    validate_certs: true
Search
    ↑ ↓ move↵ openesc close