{ "opencollection": "1.0.0", "info": { "name": "Github Ssh API", "version": "1.1.4" }, "items": [ { "info": { "name": "Ssh", "type": "folder" }, "items": [ { "info": { "name": "GitHub Get All Authorized Ssh Keys", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys" }, "docs": "The GitHub Setup API endpoint `/setup/api/settings/authorized-keys` with the GET method retrieves a complete list of all authorized SSH keys that have been configured for the GitHub instance. This operation allows administrators to view all SSH public keys that are currently authorized for authentication purposes, providing visibility into which keys have access to the system. The endpoint returns information about each authorized key, which typically includes details such as the key fingerprint" }, { "info": { "name": "GitHub Add an Authorized Ssh Key", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys", "body": { "type": "form-urlencoded", "data": [ { "name": "authorized_key", "value": "" } ] } }, "docs": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode)." }, { "info": { "name": "GitHub Remove an Authorized Ssh Key", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}/api/v3/setup/api/settings/authorized-keys", "body": { "type": "form-urlencoded", "data": [ { "name": "authorized_key", "value": "" } ] } }, "docs": "**Note:** The request body for this operation must be submitted as `application/x-www-form-urlencoded` data. You can submit a parameter value as a string, or you can use a tool such as `curl` to submit a parameter value as the contents of a text file. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#--data-urlencode)." } ] } ], "bundled": true }