secret-scanning
Update an enterprise custom pattern
Updates a secret scanning custom pattern for an enterprise.
Personal access tokens (classic) need the admin:enterprise scope to use this endpoint.
patch/enterprises/{enterprise}/secret-scanning/custom-patterns/{pattern_id}
Path parameters
enterprisestring required
The slug version of the enterprise name.
pattern_idinteger required
The ID of the custom pattern.
Request body
Response
Pattern updated successfully.