Updates existing contact. Check "data" example below.
Name | Type | Description |
cuuid | string | PGP key name. |
data | uuid | key owner user ID. |
cb | string | public part of PGP key |
this.updateContact = function(cuuid, data, cb) { return _request({ method: 'POST', url: '/contact/edit/' + cuuid, data: data, callback: cb }); }; |
{ email: 'hello@world.net', name : 'mr. Smith' } |