---
title: "Changes to Bulk create repository custom patterns"
method: POST
path: "/repos/{owner}/{repo}/secret-scanning/custom-patterns"
---

# Changes to Bulk create repository custom patterns

`POST /repos/{owner}/{repo}/secret-scanning/custom-patterns`

> Every recorded change to this endpoint, newest first.
> 62 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 62 revisions.

- **2026-07-21** (2022-11-28) `5286c3553553` — 3 warning, 6 info
- **2026-07-14** (2022-11-28) `6b7bab78dc34` — 1 info

## Changes

- **2026-07-21** (2022-11-28) `5286c3553553` — 3 warning, 6 info
  - added the new `invalid` enum value to the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - added the new `name` enum value to the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - added the new `unprocessable` enum value to the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `compile_db` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `config_load` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `db_size` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `db_size_calculation` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `display_name` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
  - removed the `none` enum value from the `validation_errors/additionalProperties/errors/items/code` response property for the response status `422`
- **2026-07-14** (2022-11-28) `6b7bab78dc34` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/github/apis/rest/docs/repos/:owner/:repo/secret-scanning/custom-patterns/post.md) · [API](https://skmtc.dev/github/apis/rest.md) · [Page](https://skmtc.dev/github/apis/rest/changes/repos/:owner/:repo/secret-scanning/custom-patterns/post)
