v68

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

Delete a code security configuration

Deletes the desired code security configuration from an organization. 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 or security manager for the organization to use this endpoint.

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

delete/orgs/{org}/code-security/configurations/{configuration_id}

Path parameters

orgstring required

The organization name. The name is not case sensitive.

configuration_idinteger required

The unique identifier of the code security configuration.

Response

A header with no content is returned.