---
title: "This specific role will be removed from the data source"
method: DELETE
path: "/sources/{id}/roles/{role_id}"
tags: ["sources", "users", "roles"]
---

# This specific role will be removed from the data source

`DELETE /sources/{id}/roles/{role_id}`

## Path parameters

- `id` string, required
- `role_id` string, required

## Response `204`

Role has been removed

## Other responses

- `404` — Unknown role id or data source
- `default` — Unexpected internal server error

---

[API](https://skmtc.net/influxdata/apis/chronograf.md) · [All operations](https://skmtc.net/influxdata/apis/chronograf/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/influxdata/chronograf/versions/ce55d963b4ac/schema)
