---
title: "Unassign Principal Role"
method: DELETE
path: "/api/platform/principals/{principal_id}/roles/{role_id}"
tags: ["platform-admin"]
---

# Unassign Principal Role

`DELETE /api/platform/principals/{principal_id}/roles/{role_id}`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/platform/principals/{principal_id}/roles/{role_id}`
- Auth: none declared

## Path parameters

- `principal_id` string, uuid, required
- `role_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
