---
title: "Delete Card Hierarchy"
method: DELETE
path: "/v1/card-hierarchies/{cardHierarchyId}"
tags: ["Card Hierarchy Management"]
---

# Delete Card Hierarchy

`DELETE /v1/card-hierarchies/{cardHierarchyId}`

## Request

- Base URL: `https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/transfer`
- URL: `https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/transfer/v1/card-hierarchies/{cardHierarchyId}`
- Auth: none required
- TypeScript: <https://skmtc.dev/enfuce/apis/transfer-api/docs/v1/card-hierarchies/:cardHierarchyId/delete.ts> (a function with typed inputs; its response is checked against the schema)

This operation deletes a specific card hierarchy. If the hierarchy is active, use the `force` query parameter to allow deletion.

## Path parameters

- `cardHierarchyId` string, biginteger, required

## Query parameters

- `force` boolean
- `auditUser` string, required

## Response `204`

Successful deletion of the card hierarchy

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Internal server error

---

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