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}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/code-security/configurations/{configuration_id}
  • Auth: none declared

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.

Changes

No recorded changes to this operation across all 23 revisions of this API.