---
title: "Disable a sink pack"
method: POST
path: "/api/v2/customSinkPacks/disablePack"
tags: ["Custom Sink Packs"]
---

# Disable a sink pack

`POST /api/v2/customSinkPacks/disablePack`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v2/customSinkPacks/disablePack`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

Bulk-disable all templates from a sink pack for the organization. Deletes all associated CustomSinkDeclarations.

## Request body

- DisableCustomSinkPackInput
  - `organizationId` string, required
  - `packId` string, required: The pack to disable

## Response `200`

Pack disabled successfully

- DisableCustomSinkPackResponse
  - `disabled` boolean, required
  - `count` integer, required

## Other responses

- `401`: Error Response
- `404`: Error Response

---

[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)
