---
title: "Revoke a scope membership inside your own org"
method: DELETE
path: "/me/scope-memberships"
tags: ["scope-membership"]
---

# Revoke a scope membership inside your own org

`DELETE /me/scope-memberships`

## Request

- Base URL: `https://api.getmetacognition.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getmetacognition.com/me/scope-memberships`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/me/scope-memberships/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove one grant from your organization. 404 when there is no such grant. The user's read-set narrows from their next request.

## Request body

- ScopeMembershipTarget: Who is being granted what, with no org — the org-scoped request body.
  - `user_id` string, required: Application user ID
  - `scope_id` string, required: Canonical scope id "<kind>:<value>" (kinds: user/team/org/project)

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/metacognition/apis/tex-api.md) - [All operations](https://skmtc.dev/metacognition/apis/tex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacognition/apis/tex-api/revisions/3bef47e50f2e?raw)
