---
title: "Remove an exclude path from a code repo"
method: POST
path: "/repositories/code/{code_repo_id}/exclude-path/remove"
---

# Remove an exclude path from a code repo

`POST /repositories/code/{code_repo_id}/exclude-path/remove`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/repositories/code/{code_repo_id}/exclude-path/remove`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `repositories:write`

Remove an exclude path from a code repo

## Path parameters

- `code_repo_id` integer, required

## Request body

- object
  - `path` string, required: The path to remove

## Response `200`

The code repository exclude path has been removed.

- object
  - `success` integer: The integer 1 indicating success

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
