Quatrix JavaSctipt APIs
Space shortcuts
Quatrix JavaSctipt APIs QJA

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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

 

Example Result

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

 

 

Quatrix JavaSctipt APIs QJA