---
title: "Permanently locks the customer out: they can no longer sign in or obtain new tokens."
method: POST
path: "/customers/{customerId}/ban"
tags: ["Customer"]
---

# Permanently locks the customer out: they can no longer sign in or obtain new tokens.

`POST /customers/{customerId}/ban`

## Request

- Base URL: `https://api.rapidata.ai`
- URL: `https://api.rapidata.ai/customers/{customerId}/ban`
- Auth: OpenID Connect (`https://auth.rapidata.ai/.well-known/openid-configuration`, scopes: `openid`, `profile`, `email`, `offline_access`, `api`)

Idempotent; 400 for your own account. Earlier access tokens stay valid until expiry, at most 1 hour.

## Path parameters

- `customerId` string, uuid, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthenticated
- `403`: Forbidden

## Changes

- **2026-10-05** `21c16ab2e7ab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rapidata/apis/rapidata-api/changes/customers/:customerId/ban/post.md)

---

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