v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
code-security

Delete a code security configuration for an enterprise

Deletes a code security configuration from an enterprise. Repositories attached to the configuration will retain their settings but will no longer be associated with the configuration.

The authenticated user must be an administrator for the enterprise to use this endpoint.

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

delete/enterprises/{enterprise}/code-security/configurations/{configuration_id}

Path parameters

enterprisestring required

The slug version of the enterprise name.

configuration_idinteger required

The unique identifier of the code security configuration.

Response

A header with no content is returned.