---
title: "Delete role"
method: DELETE
path: "/zones/{zoneId}/roles/{roleId}"
tags: ["Zone Roles"]
---

# Delete role

`DELETE /zones/{zoneId}/roles/{roleId}`

Permanently deletes a customer-owned role. Platform-owned roles cannot be deleted, and a role with existing assignments returns 409.

## Path parameters

- `zoneId` string, required
- `roleId` string, required

## Response `204`

Default Response

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/keycardai/apis/untitled-api.md) · [All operations](https://skmtc.net/keycardai/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keycardai/untitled-api/versions/2f5033ed4491/schema)
