This version of GitHub Enterprise was discontinued on 2023-07-06. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.
Users
Use the REST API to suspend, unsuspend, promote, and demote users on your enterprise.
About user administration
These endpoints are only available to authenticated site administrators. Normal users will receive a 403 response.
List public keys
Parameters for "List public keys"
| Headers |
|---|
| Name, Type, Description |
accept string Setting to |
| Query parameters |
| Name, Type, Description |
per_page integer The number of results per page (max 100). Default: |
page integer Page number of the results to fetch. Default: |
direction string The direction to sort the results by. Default: Can be one of: |
sort string Default: Can be one of: |
since string Only show public keys accessed after the given time. |
HTTP response status codes for "List public keys"
| Status code | Description |
|---|---|
200 | OK |