---
title: "Delete Role"
method: DELETE
path: "/roles/{roleId}"
tags: ["Role and Permission"]
---

# Delete Role

`DELETE /roles/{roleId}`

Deletes a role by identifier.

> Note: Only custom roles can be deleted. Provisioned roles cannot be removed.

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Response `204`

No Content

## Other responses

- `400` — Error codes: * "invalid": Invalid input in the query parameter mentioned in the "name" field on the error response, or provisioned roles cannot be deleted. * "empty": Empty input for the "roleId" path parameter variable.
- `401` — The user could not be identified.
- `403` — Error codes: * "forbidden": the authenticated user is not allowed to delete the role.
- `404` — Error codes: * "notFound": the role could not be found by identifier.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
