v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Scanning

Update the specified GitLab Data Source.

patch/api/v2/secret-scanning/data-sources/gitlab/{dataSourceId}

Path parameters

dataSourceIdstring uuid required

The ID of the GitLab Data Source to be updated.

Request body

namestring

The updated name of the GitLab Data Source. Must be slug-friendly.

descriptionstring nullable

The updated description of the GitLab Data Source.

isAutoScanEnabledboolean

Whether scans should be automatically performed when a push occurs to projects associated with this Data Source.

Response

Default Response