Retrieve a GPG key
GET
/api/v4/user/gpg_keys/{key_id}
Retrieves a GPG key for the currently authenticated user.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” key_id
required
integer
The ID of the GPG key
Responses
Section titled “ Responses ”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
Not Found