Provide a description of this API
e.g. /api/0.1/key/create
Response formats | |
Response code | |
Requires authentication? | |
HTTP Method |
Name | Type | Default Value | Validation | Description |
name required | string | - | string | PGP key name. |
user required | uuid | - | uuid4 | key owner user ID. |
public required | 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> } |