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

# Delete role

`DELETE /api/v1/roles/{roleId}`

## Request

- Base URL: `https://api-business.wirexapp.com`
- URL: `https://api-business.wirexapp.com/api/v1/roles/{roleId}`
- Auth: API key in header `Authorization`

Deletes custom role by id.

## Path parameters

- `roleId` string, required

## Response `200`

OK

- ResponseEmptyResponse

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api.md) - [All operations](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wirexapp/apis/wirex-corporate-baas-api/revisions/6525bfbc8f99?raw)
