---
title: "Revoke a workspace membership immediately. Owner access is required."
method: POST
path: "/v1/memberships/revoke"
---

# Revoke a workspace membership immediately. Owner access is required.

`POST /v1/memberships/revoke`

## Request

- Base URL: `http://127.0.0.1:8080`
- URL: `http://127.0.0.1:8080/v1/memberships/revoke`
- Auth: HTTP bearer

## Headers

- `X-Likerts-Workspace` string

## Request body

- SubjectInput
  - `subject` string, required

## Response `204`

Membership revoked.

## Other responses

- `400`: Invalid input, resource identifier or workspace selection.
- `401`: Unauthorized.
- `403`: Owner access required.
- `413`: JSON request body exceeds 65536 bytes.
- `415`: Content-Type must be application/json.
- `429`: Admission or collection rate limit reached. Honor Retry-After in seconds; admission usually returns1, the collection minute window returns60.
- `500`: Internal failure; do not assume a write failed. Retry only with its original idempotency key and payload.
- `503`: Distributed request admission is temporarily unavailable. No protected handler ran; honor Retry-After.

---

[API](https://skmtc.dev/likerts/apis/likerts-development-api.md) · [All operations](https://skmtc.dev/likerts/apis/likerts-development-api/llms.txt) · [OpenAPI document](https://skmtc.dev/likerts/apis/likerts-development-api/revisions/c583fa096c07?raw)
