PUT   https://api.3seventy.com/api/v2.1/account/{accountId}/user/{userName}/password


Changes a user's password to the newly supplied password.

Path Parameters

accountId integer The account the user falls under. required
userName string The user's login name. required

Request Properties application/json

UserName string User name. required
NewPassword string The new login password for the user. required
ConfirmPassword string Confirmation password. Must match NewPassword. required



using System;
using System.Collections.Generic;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

public class Program

private static void Main(string[] args)

const int accountId = XXXX;

const string userName = "XXXX";

var context = new T70Context();

var userPasswordRepo = context.Repository<UserPassword>(new { AccountId = accountId, UserName =userName });

var item = new UserPassword()

UserName = userName,

NewPassword = "",

ConfirmPassword = ""