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

# Disable a sink template

`POST /api/v2/customSinkPacks/disableTemplate`

## Request

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

Disable a single sink template instance. Deletes the associated CustomSinkDeclaration.

## Request body

- DisableCustomSinkTemplateInput
  - `organizationId` string, required
  - `instanceId` string, required: The template instance to disable

## Response `200`

Template disabled successfully

- DisableCustomSinkTemplateResponse
  - `disabled` boolean, 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)
