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

# Revoke tool provider grant

> Owner organization only. Removes the organization's grant on the provider: from the next call on, a call made there without a credential of its own answers `no credential for provider X` again. The provider stays listed there as long as it is shared.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/tool-providers/{id}/grants/{org_id}
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/tool-providers/{id}/grants/{org_id}:
    delete:
      tags:
        - Tool providers
      summary: Revoke tool provider grant
      description: >-
        Owner organization only. Removes the organization's grant on the
        provider: from the next call on, a call made there without a credential
        of its own answers `no credential for provider X` again. The provider
        stays listed there as long as it is shared.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: 8d3b1a75-6c02-4e59-b84f-27a9d5e10c63
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            example: 2b9d7c31-8e4f-4a2b-9d61-77c0a3f5e812
          description: The organization whose grant is revoked.
      responses:
        '200':
          description: Revoked
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
              example:
                success: true
        '403':
          description: >-
            Not the owner: a provider shared with this organization is read-only
            here (the owner is named in `details`).
        '404':
          description: No such provider, or that organization holds no grant on it
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.

````

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