Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Updates existing contact. Check "data" example below.

Parameters

 

Name TypeDescription

cuuid

required

string

PGP key name.

data

required

uuid

key owner user ID.

cb

optional

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'
}

 

 

  • No labels
Quatrix JavaSctipt APIs QJA