---
title: "Delete an Organization Code Mapping"
url: https://docs.sentry.io/api/integrations/delete-an-organization-code-mapping/
---

# Delete an Organization Code Mapping | Sentry Docs

DELETE /api/0/organizations/{organization\_id\_or\_slug}/code-mappings/{config\_id}/

Delete a repository project path config

:auth: required

### Path Parameters

* `organization_id_or_slug` *(string)*

  REQUIRED

  The ID or slug of the organization the resource belongs to.

* `config_id` *(integer)*

  REQUIRED

  The ID of the code mapping to delete.

### Scopes

You need to [authenticate via bearer auth token.](https://docs.sentry.io/api/auth.md)

`<auth_token>` requires one of the following scopes:

* `org:admin`
* `org:integrations`

```
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/code-mappings/{config_id}/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X DELETE
```

RESPONSE

```
Copied
No Content.
```

---

Find other pages: [Sitemap](https://docs.sentry.io/sitemap.md) lists every page with a one-line summary, and [llms.txt](https://docs.sentry.io/llms.txt) gives an overview with guidance for agents.
