PUT   https://api.3seventy.com/api/v2.1/account/{accountId}/contact-attributeDef/{attribDefId}


Update an account attribute definition.

Path Parameters

accountId integer The account ID which the new required
attribDefId integer The ID of the specific attribute definition to update. required

Request Properties application/json

CategoryId number The Id of category required
Description string A full description of the attribute. required
    "CategoryId": 0,
    "Description": "Name"


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 int id = XXXX;

var context = new T70Context();

var contactAttDefRepo = context.Repository<ContactAttributeDefinition>(new { AccountId = accountId });

var item = contactAttDefRepo.Get(id);

item.DataTypeId = (int)DataType.IntType;