> ## Documentation Index
> Fetch the complete documentation index at: https://help.statisfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop sharing a portal with someone

> Ask the person before calling this: removes this one grant, from the next token refresh. Someone another grant also admits (their domain, the Rule) still gets in: to take a person's access away, check them afterwards with POST /v1/portals/{portal_id}/access-check. A grant already removed is a 404.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/portals/{portal_id}/grants/{grant_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/portals/{portal_id}/grants/{grant_id}:
    delete:
      tags:
        - portals
      summary: Stop sharing a portal with someone
      description: >-
        Ask the person before calling this: removes this one grant, from the
        next token refresh. Someone another grant also admits (their domain, the
        Rule) still gets in: to take a person's access away, check them
        afterwards with POST /v1/portals/{portal_id}/access-check. A grant
        already removed is a 404.
      operationId: portals_revoke_grant
      parameters:
        - description: >-
            The portal's id, as GET /v1/portals (or the portal_list MCP tool)
            returns it
          in: path
          name: portal_id
          required: true
          schema:
            format: uuid
            type: string
        - description: The grant's id, as GET /v1/portals/{portal_id}/grants returns it
          in: path
          name: grant_id
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevokedGrant'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    RevokedGrant:
      properties:
        id:
          title: Id
          type: string
        revoked:
          const: true
          default: true
          title: Revoked
          type: boolean
      required:
        - id
      title: RevokedGrant
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.