---
title: "DELETE /role_definitions/{id}/"
method: DELETE
path: "/role_definitions/{id}/"
tags: ["role_definitions"]
---

# DELETE /role_definitions/{id}/

`DELETE /role_definitions/{id}/`

Role Definitions (roles) contain a list of permissions and can be used to
assign those permissions to a user or team through the respective
assignment endpoints.

Custom roles can be created, modified, and deleted through this endpoint.
System-managed roles are shown here, which cannot be edited or deleted,
but can be assigned to users.

## Path parameters

- `id` integer, required

## Response `204`

No response body

---

[API](https://skmtc.net/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.net/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/revisions/c04fc5f09692/schema)
