code: def register(email):
      '''
      Register a new user account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run venafi.register email@example.com
      '''
      data = __utils__['http.query'](
          '{0}/useraccounts'.format(_base_url()),
          method='POST',
          data=salt.utils.json.dumps({
              'username': email,
              'userAccountType': 'API',
          }),
          status=True,
          decode=True,
          decode_type='json',
          header_dict={
              'Content-Type': 'application/json',
          },
      )
      status = data['status']
      if six.text_type(status).startswith('4') or six.text_type(status).startswith('5'):
          raise CommandExecutionError(
              'There was an API error: {0}'.format(data['error'])
          )
      return data.get('dict', {}f register(email):
      '''
      Register a new user account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run venafi.register email@example.com
      '''
      data = __utils__['http.query'](
          '{0}/useraccounts'.format(_base_url()),
          method='POST',
          data=salt.utils.json.dumps({
              'username': email,
              'userAccountType': 'API',
          }),
          status=True,
          decode=True,
          decode_type='json',
          header_dict={
              'Content-Type': 'application/json',
          },
      )
      status = data['status']
      if six.text_type(status).startswith('4') or six.text_type(status).startswith('5'):
          raise CommandExecutionError(
              'There was an API error: {0}'.format(data['error'])
          )
      return data.get('dict', {})
docs: Register a new user account
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run venafi.register email@example.com