---
title: "Delete multiple roles"
method: DELETE
path: "/roles"
tags: ["Permissions"]
---

# Delete multiple roles

`DELETE /roles`

Delete multiple roles by IDs

## Request body

- object
  - `ids` string[], required

## Response `200`

Roles deleted successfully

- Success
  - `code` integer
  - `message` string
  - `data` object

## Changes

- **2025-03-02** `526e5bdf6dee` — 1 breaking, 12 warning, 7 info
  - added required request body
  - removed the optional property `data/_id` from the response with the `200` status
  - removed the optional property `data/created_at` from the response with the `200` status
  - removed the optional property `data/created_by` from the response with the `200` status
  - …16 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/roles/delete.md)

---

[API](https://skmtc.dev/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.dev/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/revisions/526e5bdf6dee/schema)
