---
title: "Delete"
method: POST
path: "/api/v1/repositories/delete"
tags: ["Repositories"]
---

# Delete

`POST /api/v1/repositories/delete`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/repositories/delete`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Delete a repository from the organization

## Request body

- object
  - `organizationId` string, required: Organization containing the repository
  - `repositoryId` string, required: Unique identifier of the repository to delete

## Response `200`

Successfully deleted repository

- object
  - `id` string, required: Identifier of the deleted repository

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api/revisions/126e9c80ba0d?raw)
