---
title: "Remove organization JIT default role"
method: DELETE
path: "/api/organizations/{id}/jit/roles/{organizationRoleId}"
tags: ["Organizations"]
---

# Remove organization JIT default role

`DELETE /api/organizations/{id}/jit/roles/{organizationRoleId}`

Remove an organization role that will be assigned to users during just-in-time provisioning.

## Path parameters

- `id` string, required
- `organizationRoleId` string, required

## Response `204`

The organization role was removed successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — The organization role could not be removed. The organization role may not exist.

---

[API](https://skmtc.dev/logto/apis/logto-api-references.md) · [All operations](https://skmtc.dev/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/logto/logto-api-references/revisions/0287c6a59eba/schema)
