GitGuardian icon

GitGuardian

Interact with the GitGuardian API

Source → Update

AI-generated

Summary

Update a custom source in GitGuardian using its ID and new details.

Inputs

  • customSourceId (required) — ID of the custom source to update.
  • name (required) — New name of the custom source.
  • description — New description of the custom source.

Output shape

a single record

Returns the updated source details. The description field is optional, and if not provided, the current description remains unchanged.

Examples

Example 1: Updating the name and description of a source.

Set 'customSourceId' to '1234', 'name' to 'New Source Name', and 'description' to 'Updated source description.'.

Discussion