Update repository path limitation for a team
Update the path limitations for a repository that is already linked to a team. This works for both manually created and imported teams (e.g. GitHub teams), and does not change which resources are linked to the team.
post/teams/{team_id}/updateRepoPathLimitation
Request
- Base URLhttps://app.aikido.dev/api/public/v1
- URLhttps://app.aikido.dev/api/public/v1/teams/{team_id}/updateRepoPathLimitation
- AuthOAuth 2Client credentialsToken URL: https://app.aikido.io/api/oauth/token scopes: teams:write
Path parameters
team_idinteger required
Unique ID of the team
Request body
Example request
{
"repo_id": 1,
"repo_path_limitation": {
"limitation_type": "include",
"paths": [
"/client/",
"/tests/client/"
]
}
}Response
The repository path limitation has successfully been updated
Example response
{
"status": "ok"
}Changes
No recorded changes to this operation across all 1 revision of this API.