---
title: "Delete a role"
method: DELETE
path: "/v0.1/merchants/{merchant_code}/roles/{role_id}"
tags: ["Roles"]
---

# Delete a role

`DELETE /v0.1/merchants/{merchant_code}/roles/{role_id}`

Delete a custom role.

## Path parameters

- `merchant_code` string, required
- `role_id` string, required

## Response `200`

Returns an empty response if the role deletion succeeded.

## Other responses

- `400` — Invalid request.
- `404` — Merchant not found.

## Changes

- **2025-03-26** `80a17713e7a8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sumup/apis/sumup-rest-api/changes/v0.1/merchants/:merchant_code/roles/:role_id/delete.md)

---

[API](https://skmtc.dev/sumup/apis/sumup-rest-api.md) · [All operations](https://skmtc.dev/sumup/apis/sumup-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sumup/apis/sumup-rest-api/revisions/d32eef8a3bd2?raw)
