---
title: "Delete a SCIM organization role mapping"
method: DELETE
path: "/scim/organization-role-mappings/{id}"
tags: ["SCIM"]
---

# Delete a SCIM organization role mapping

`DELETE /scim/organization-role-mappings/{id}`

## Request

- Base URL: `https://openrouter.ai/api/v1`
- URL: `https://openrouter.ai/api/v1/scim/organization-role-mappings/{id}`
- Auth: HTTP bearer

Delete a SCIM group-to-organization-role mapping. Deleting the last `admin` mapping returns `409`. Organization role mapping must be enabled for the SCIM directory in the dashboard; otherwise writes return `409`. [Management key](/docs/guides/overview/auth/management-api-keys) required.

## Path parameters

- `id` string, required

## Response `200`

SCIM organization role mapping deleted

- DeleteScimOrganizationRoleMappingResponse
  - `deleted` true, required

## Other responses

- `400`: Bad Request - Invalid request parameters or malformed input
- `401`: Unauthorized - Authentication required or invalid credentials
- `403`: Forbidden - Authentication successful but insufficient permissions
- `404`: Not Found - Resource does not exist
- `409`: Conflict - Resource conflict or concurrent modification
- `500`: Internal Server Error - Unexpected server error

## Changes

- **2026-12-01** `36360154e3d1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openrouterteam/apis/openrouter-api/changes/scim/organization-role-mappings/:id/delete.md)

---

[API](https://skmtc.dev/openrouterteam/apis/openrouter-api.md) - [All operations](https://skmtc.dev/openrouterteam/apis/openrouter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openrouterteam/apis/openrouter-api/revisions/f797e38f23b4?raw)
