---
title: "Delete a user role"
method: DELETE
path: "/user-roles/{user_role_id}"
tags: ["User Roles"]
---

# Delete a user role

`DELETE /user-roles/{user_role_id}`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/user-roles/{user_role_id}`
- Auth: HTTP bearer

Delete a user role.

## Path parameters

- `user_role_id` string, uuid, required

## Response `200`

User Role removed successfully

- UserRole
  - `id` string, uuid, required
  - `name` string, required
  - `created_at` union, required
    - string, nullable
    - string
    - unknown
  - `updated_at` union, required
    - string, nullable
    - string
    - unknown
  - `deleted_at` union, required
    - string, nullable
    - string
    - unknown

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
