enterprise-admin

Revoke enterprise-delegated credential authorizations

Queues revocation of every active organization credential authorization created through enterprise delegation for the enterprise. Credential authorizations created through SAML or other flows are not affected.

The authenticated GitHub App must be owned by the enterprise or one of its organizations, installed on the enterprise, and have the enterprise_credentials:write permission.

delete/enterprises/{enterprise}/credential-authorizations

Path parameters

enterprisestring required

The slug version of the enterprise name.

Query parameters

integration_idinteger

The database ID of a GitHub App currently owned by the enterprise or one of its organizations, or a formerly owned GitHub App with delegation history for the enterprise. When provided, only credential authorizations delegated by that App are revoked. When omitted, all enterprise-delegated credential authorizations for the enterprise are revoked.

Response

Delegated credential authorization revocation was queued.

messagestring required

Changes