CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 31 Aug 2025 11:06:04 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20161114191726
location: https://web.archive.org/web/20161114191726/https://developer.github.com/v3/users/keys/
server-timing: captures_list;dur=0.578682, exclusion.robots;dur=0.020997, exclusion.robots.policy;dur=0.008546, esindex;dur=0.010404, cdx.remote;dur=13.829506, LoadShardBlock;dur=400.029620, PetaboxLoader3.datanode;dur=190.281436, PetaboxLoader3.resolve;dur=44.863768
x-app-server: wwwb-app239
x-ts: 302
x-tr: 445
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app239; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 31 Aug 2025 11:06:05 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-last-modified: Mon, 14 Nov 2016 05:40:40 GMT
x-archive-orig-access-control-allow-origin: *
x-archive-orig-expires: Mon, 14 Nov 2016 19:27:26 GMT
x-archive-orig-cache-control: max-age=600
x-archive-orig-x-github-request-id: 17EB2F20:1D85:6256790:582A0DC6
x-archive-orig-content-length: 36752
x-archive-orig-accept-ranges: bytes
x-archive-orig-date: Mon, 14 Nov 2016 19:17:26 GMT
x-archive-orig-via: 1.1 varnish
x-archive-orig-age: 0
x-archive-orig-connection: close
x-archive-orig-x-served-by: cache-sjc3638-SJC
x-archive-orig-x-cache: MISS
x-archive-orig-x-cache-hits: 0
x-archive-orig-x-timer: S1479151046.518618,VS0,VE384
x-archive-orig-vary: Accept-Encoding
x-archive-orig-x-fastly-request-id: b07e05bdff99771d3b82516c5b9ad3f4abcd3346
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 14 Nov 2016 19:17:26 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 30 May 2011 17:56:49 GMT", ; rel="prev memento"; datetime="Tue, 04 Oct 2016 15:50:35 GMT", ; rel="memento"; datetime="Mon, 14 Nov 2016 19:17:26 GMT", ; rel="next memento"; datetime="Sat, 24 Dec 2016 13:15:16 GMT", ; rel="last memento"; datetime="Sat, 02 Aug 2025 05:08:31 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: ARCHIVEIT-771-QUARTERLY-JOB248887-20161114-00002/ARCHIVEIT-771-QUARTERLY-JOB248887-20161114190904034-00019.warc.gz
server-timing: captures_list;dur=0.675251, exclusion.robots;dur=0.021483, exclusion.robots.policy;dur=0.008229, esindex;dur=0.012991, cdx.remote;dur=175.014235, LoadShardBlock;dur=57.240261, PetaboxLoader3.datanode;dur=102.687060, load_resource;dur=766.486688, PetaboxLoader3.resolve;dur=684.938029
x-app-server: wwwb-app239
x-ts: 200
x-tr: 1117
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
User Public Keys | GitHub Developer Guide
Public Keys
- List public keys for a user
- List your public keys
- Get a single public key
- Create a public key
- Update a public key
- Delete a public key
List public keys for a user
GET /users/:username/keys
Lists the verified public keys for a user. This is accessible by anyone.
Response
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
<https://api.github.com/resource?page=5>; rel="last"
[
{
"id": 1,
"key": "ssh-rsa AAA..."
}
]
List your public keys
GET /user/keys
Lists the current user's keys. Requires that you are authenticated via
Basic Auth or via OAuth with at least read:public_key
scope.
Response
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
<https://api.github.com/resource?page=5>; rel="last"
[
{
"id": 1,
"key": "ssh-rsa AAA...",
"url": "https://api.github.com/user/keys/1",
"title": "octocat@octomac",
"verified": true,
"created_at": "2014-12-10T15:53:42Z",
"read_only": true
}
]
Get a single public key
View extended details for a single public key. Requires that you are
authenticated via Basic Auth or via OAuth with at least read:public_key
scope.
GET /user/keys/:id
Response
Status: 200 OK
{
"id": 1,
"key": "ssh-rsa AAA...",
"url": "https://api.github.com/user/keys/1",
"title": "octocat@octomac",
"verified": true,
"created_at": "2014-12-10T15:53:42Z",
"read_only": true
}
Create a public key
Creates a public key. Requires that you are authenticated via Basic Auth,
or OAuth with at least write:public_key
scope.
POST /user/keys
Input
{
"title": "octocat@octomac",
"key": "ssh-rsa AAA..."
}
Response
Status: 201 Created
Location: https://api.github.com/user/keys/1
{
"id": 1,
"key": "ssh-rsa AAA...",
"url": "https://api.github.com/user/keys/1",
"title": "octocat@octomac",
"verified": true,
"created_at": "2014-12-10T15:53:42Z",
"read_only": true
}
Update a public key
Public keys are immutable. If you need to update a public key, remove the key and create a new one instead.
Delete a public key
Removes a public key. Requires that you are authenticated via Basic Auth
or via OAuth with at least admin:public_key
scope.
DELETE /user/keys/:id
Response
Status: 204 No Content