---
title: "Delete Snippet"
method: DELETE
path: "/v3/portals/{portalId}/snippets/{snippetId}"
tags: ["Snippets"]
---

# Delete Snippet

`DELETE /v3/portals/{portalId}/snippets/{snippetId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v3/portals/{portalId}/snippets/{snippetId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Deletes a single custom snippet for this portal.

## Path parameters

- `portalId` string, uuid, required
- `snippetId` string, uuid, required

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-beta/revisions/cef0f947e9c9?raw)
