List all GPG keys for a user
GET
/api/v4/users/{id}/gpg_keys
Lists all GPG keys for a specified user account. This endpoint does not require authentication.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The ID of the user
Query Parameters
Section titled “Query Parameters”page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20Responses
Section titled “Responses”OK
Media typeapplication/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
Not Found