v1
latestOpenAPI 3.1.02026-07-261690320.7 KBAdd an exclude path to a code repo
Add an exclude path to a code repo
post/repositories/code/{code_repo_id}/exclude-path
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
}