---
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.

---

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