latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Team Sources

Update a team perimeter

This endpoint allows you to add and remove sources from the perimeter of a team.

If you are using a personal access token, you need to be a workspace manager.

post/v1/teams/{team_id}/sources

Path parameters

team_idinteger required

The id of the team

Request body

sources_to_addinteger[]

Ids of sources to add to the perimeter.

sources_to_removeinteger[]

Ids of sources to remove from the perimeter.

Response

Team perimeter updated