The following API call allows the user to edit PGP key.
/api/1.0/pgp-key/edit/<ID>
Response formats | JSON |
Response code | 200 |
Requires authentication? | Yes |
HTTP Method | POST |
Name | Type | Default Value | Validation | Description |
name optional | string | - | string | PGP key name. |
public optional | string | - | PGP public key data | public part of PGP key |
private optional | string | - | PGP private key data | private part of PGP key |
{ "id": <uuid>, "name": <string>, "created": <uuid>, "modified": <uuid>, "private": <string>, "public": <string>, "email": <string> } |