Page History
Sets PGP keys as default to your profile. (!)All files which was encrypted by previous keys will be unavalieble.
Parameters
| Name | Type | Description |
| id | string | key_request id |
| data | array | PGP keys metadata |
Example
| Code Block | ||
|---|---|---|
| ||
this.sendKeys = function(id, data, cb) {
return _request({
method: 'POST',
url: '/key_request/respond/'+id,
data: data,
callback: cb
});
}; |
Example Result
| Code Block | ||
|---|---|---|
| ||
{
name: 'pgpkey',
private: "",
public: ""
} |