---
title: "Delete Role"
method: DELETE
path: "/iam/roles/{role_id}"
tags: ["IAM"]
---

# Delete Role

`DELETE /iam/roles/{role_id}`

## Request

- Base URL: `https://am1.portal.api.nasuni.com`
- URL: `https://am1.portal.api.nasuni.com/iam/roles/{role_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nasuni/apis/portal-api/docs/iam/roles/:role_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `role_id` string, uuid, required

## Response `200`

Operation completed successfully

- unknown

## Other responses

- `401`: Not authenticated
- `403`: Insufficient permissions
- `404`: Resource not found
- `422`: Invalid input data
- `500`: Internal server error

---

[API](https://skmtc.dev/nasuni/apis/portal-api.md) - [All operations](https://skmtc.dev/nasuni/apis/portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nasuni/apis/portal-api/revisions/2a505bec6d14?raw)
