v56

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

Detach configurations from repositories

Detach code security configuration(s) from a set of repositories. Repositories 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/detach

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

selected_repository_idsinteger[] required

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

Response

A header with no content is returned.