---
title: "Excluindo uma função"
method: DELETE
path: "/api/v4/roles/{id}"
---

# Excluindo uma função

`DELETE /api/v4/roles/{id}`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/roles/{id}`
- Auth: OAuth 2

Este método permite a exclusão das funções de usuários.

## Path parameters

- `id` integer, required

## Headers

- `Content-Type` string

## Response `204`

204

- object

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403

---

[API](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
