secret-scanning

Bulk create organization custom patterns

Bulk creates secret scanning custom patterns for an organization.

Personal access tokens (classic) need the write:org scope to use this endpoint.

post/orgs/{org}/secret-scanning/custom-patterns

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/secret-scanning/custom-patterns
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

Response

All patterns created successfully.

Changes

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