Quatrix APIs v1.0
Space shortcuts
Quatrix APIs v1.0 QA1
Skip to end of metadata
Go to start of metadata

The following API call allows the user to create PGP key. If PGP key exists already for given user, the action will do nothing.

Resource URL

/api/1.0/pgp-key/create

Resource Information

 

Response formatsJSON
Response code201
Requires authentication?Yes
HTTP MethodPOST

Parameters 

Name TypeDefault ValueValidationDescription

name

required 

string-string

PGP key name.

public

required

string-PGP public key datapublic part of PGP key

private

optional

string-PGP private key dataprivate part of PGP key


Example Request URL

Example Result

{
    "id": <uuid>,
    "name": <string>,
    "created": <uuid>,
    "modified": <uuid>,
    "private": <string>,
    "public": <string>,
    "email": <string>
}

 

 

 

 

  • No labels
Write a comment…
Quatrix APIs v1.0 QA1