Add an exclude path to a code repo
Add an exclude path to a code repo
post/repositories/code/{code_repo_id}/exclude-path
Request
- Base URLhttps://app.aikido.dev/api/public/v1
- URLhttps://app.aikido.dev/api/public/v1/repositories/code/{code_repo_id}/exclude-path
- AuthOAuth 2Client credentialsToken URL: https://app.aikido.io/api/oauth/token scopes: repositories:write
Path parameters
code_repo_idinteger required
The repository ID
Request body
Example request
{
"path": "/api/v1/",
"reason": "This is legacy code and is no in use or maintained."
}Response
The code repository exclude path has been added.
Example response
{
"excluded_path_id": 456
}Changes
No recorded changes to this operation across all 1 revision of this API.