enterprise-admin

Grant credential authorizations for enterprise organizations

Authorizes an existing user credential for selected organizations in an enterprise. Currently supports personal access tokens (classic) and user-owned SSH authentication keys. The authenticated GitHub App must be owned by the enterprise or an organization in the enterprise. The credential owner must be a member of every selected organization, and the enterprise must be configured with an enterprise-level SSO provider.

Credential authorizations remain active if the GitHub App is uninstalled or loses permission. They remain active until explicitly revoked, the credential is revoked or deleted, or the credential owner loses organization membership.

post/enterprises/{enterprise}/credential-authorizations

Path parameters

enterprisestring required

The slug version of the enterprise name.

Request body

OR

Response

Credential authorizations were granted.

OR

Changes