---
title: "Revoke Sharable Entity Access"
method: POST
path: "/api/svc-registry/sharable-entities/{module}/{resource_id}/grants/revoke"
tags: ["svc-registry"]
---

# Revoke Sharable Entity Access

`POST /api/svc-registry/sharable-entities/{module}/{resource_id}/grants/revoke`

## Request

- Base URL: `https://app.gocrisp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.gocrisp.com/api/svc-registry/sharable-entities/{module}/{resource_id}/grants/revoke`
- Auth: none declared

Revoke a direct access grant on a registered-scope sharable entity.

## Path parameters

- `module` string, required
- `resource_id` string, required

## Request body

- SharableEntityGrantRequest: Payload for ``POST /api/svc-registry/sharable-entities/{module}/{resourceId}/grants``.
  - `principal` PrincipalRef, required: Subject of an access grant on a sharable entity.
    - `kind` 'user' | 'service_account' | 'group' | 'organization', required
    - `id` string, required
  - `role` 'reader' | 'editor' | 'owner' | 'data_reader' | 'data_editor' | 'data_owner', required

## Response `200`

Successful response, including any rejected FGA tuple operations.

- SharableEntityGrantResponseWithFgaWriteReport
  - `objectId` string, required
  - `principal` PrincipalRef, required: Subject of an access grant on a sharable entity.
    - `kind` 'user' | 'service_account' | 'group' | 'organization', required
    - `id` string, required
  - `role` 'reader' | 'editor' | 'owner' | 'data_reader' | 'data_editor' | 'data_owner', required
  - `rejectedTuples` RejectedTuple[]: Tuple operations rejected by Auth0 FGA during this request.
    - `operation` 'write' | 'delete', required
    - `tuple` RejectedTupleKey, required: Public tuple identity for a rejected write operation.
      - `user` string, required
      - `relation` string, required
      - `object` string, required
    - `reason` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-09** `2d5570083be4`: 1 info
  - added the optional property `rejectedTuples` to the response with the `200` status

[Operation history](https://skmtc.dev/gocrisp/apis/crisp-app-dock/changes/api/svc-registry/sharable-entities/:module/:resource_id/grants/revoke/post.md)

---

[API](https://skmtc.dev/gocrisp/apis/crisp-app-dock.md) - [All operations](https://skmtc.dev/gocrisp/apis/crisp-app-dock/llms.txt) - [OpenAPI document](https://skmtc.dev/gocrisp/apis/crisp-app-dock/revisions/28638f87e7d4?raw)
