---
title: "Delete role by ID"
method: DELETE
path: "/v1/roles/{roleId}"
tags: ["Roles"]
---

# Delete role by ID

`DELETE /v1/roles/{roleId}`

## Request

- Base URL: `https://api.tetrascience.com`
- URL: `https://api.tetrascience.com/v1/roles/{roleId}`
- Auth: API key in header `ts-auth-token` and API key in header `x-org-slug`

## Parameters

- `#/paths/~1v1~1roles~1{roleId}/get/parameters/0` (unresolved $ref)

## Response `204`

Role deleted successfully

## Other responses

- `401`: Invalid token
- `403`: Caller is not authorized to perform this action
- `404`: Role not found

---

[API](https://skmtc.dev/tetrascience/apis/administration.md) - [All operations](https://skmtc.dev/tetrascience/apis/administration/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrascience/apis/administration/revisions/c1c829febcc5?raw)
