---
title: "Delete JIT access by user-id"
method: DELETE
path: "/v1/projects/{ref}/database/jit/{user_id}"
tags: ["Database"]
---

# Delete JIT access by user-id

`DELETE /v1/projects/{ref}/database/jit/{user_id}`

Remove JIT mappings of a user, revoking all JIT database access

## Path parameters

- `ref` string, required
- `user_id` string, uuid, required

## Response `200`

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded
- `500` — Failed to remove JIT access

---

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