Updates existing contact. Check "data" example below.

Parameters

 

Name TypeDescription

cuuid

string

PGP key name.

data

uuid

key owner user ID.

cb

stringpublic part of PGP key


Example

this.updateContact = function(cuuid, data, cb) {
  return _request({
    method: 'POST',
    url: '/contact/edit/' + cuuid,
    data: data,
    callback: cb
  });
};

 

Example Result

{
 email: 'hello@world.net',
 name : 'mr. Smith'
}