Skip to content

List all GPG keys

GET
/api/v4/user/gpg_keys

Lists all GPG keys for the currently authenticated user.

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
id
integer format: int64
key
string
created_at
string format: date-time
Example
{
"id": 1,
"key": "-----BEGIN PGP PUBLIC KEY BLOCK-----",
"created_at": "2017-09-05T09:17:46.264Z"
}

Bad Request