v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
enterprise-admin

Disable access restrictions for an enterprise

Disable access restriction by proxy header using the network proxy owned by the enterprise.

post/enterprises/{enterprise}/access-restrictions/disable

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

Response

messagestring required

The message returned for the request.

header_namestring required

The name of the proxy header.

header_valuestring required

The value of the proxy header.

Example response

{
  "header_name": "sec-GitHub-allowed-enterprise"
}