mammoth-io OAuth Client API

The OAuth Client API from mammoth-io — 2 operation(s) for oauth client.

Operations 2

DELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id} Delete an OAuth client registration #
DELETE /workspaces/{workspace_id}/oauth-clients/{oauth_client_id}/grant Disconnect a third-party OAuth client from your account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mammoth-io:mammoth-io-oauth-client-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mammoth-io-oauth-client-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mammoth Io OAuth Client API
  version: 0.1.0
  contact:
    name: Mammoth Analytics
    url: https://mammoth.io
    email: support@mammoth.io
  description: 'Operations tagged OAuth Client across 2 of this provider''s published API definitions: app.mammoth.io-openapi.json, mammoth-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v2
security:
- bearerAuth: []
- apiKey: []
  apiSecret: []
  workspaceId: []
tags:
- name: OAuth Client
paths:
  /workspaces/{workspace_id}/oauth-clients/{oauth_client_id}:
    delete:
      tags:
      - OAuth Client
      summary: Delete an OAuth client registration
      description: Deletes the client registration and every connection users made to it, so its tokens stop working.
      operationId: DeleteOauthClient
      parameters:
      - name: workspace_id
        in: path
        schema:
          type: integer
          minimum: 1.0
          title: Workspace ID
          description: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
          examples:
          - 4
        description: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
        required: true
        deprecated: false
        examples:
          workspace_id-example-1:
            summary: Sample workspace ID
            value: 4
      - name: oauth_client_id
        in: path
        schema:
          type: integer
          minimum: 1.0
          title: OAuth Client ID
          description: ID of the OAuth client
          examples:
          - 1
        description: ID of the OAuth client
        required: true
        deprecated: false
        examples:
          oauth_client_id-example-1:
            value: 1
      responses:
        '204':
          description: Successful delete
        '400':
          description: Bad Request
        '403':
          description: Request forbidden -- authorization will not help
          content:
            application/json:
              schema:
                properties:
                  status_code:
                    type: integer
                  detail:
                    type: string
                  extra:
                    additionalProperties: {}
                    type:
                    - 'null'
                    - object
                    - array
                type: object
                required:
                - detail
                - status_code
                description: Authorization Exception
                examples:
                - status_code: 403
                  detail: Forbidden
                  extra: {}
        '404':
          description: Not found
        '401':
          description: Authorization error
      deprecated: false
    servers:
    - url: /api/v2
  /workspaces/{workspace_id}/oauth-clients/{oauth_client_id}/grant:
    delete:
      tags:
      - OAuth Client
      summary: Disconnect a third-party OAuth client from your account
      description: Removes the requesting user's connection to this client (same as removing it under Settings -> Connected apps). Takes effect on the client's very next call. Does not require workspace-admin permission and does not delete the client registration.
      operationId: RevokeOauthGrant
      parameters:
      - name: workspace_id
        in: path
        schema:
          type: integer
          minimum: 1.0
          title: Workspace ID
          description: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
          examples:
          - 4
        description: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
        required: true
        deprecated: false
        examples:
          workspace_id-example-1:
            summary: Sample workspace ID
            value: 4
      - name: oauth_client_id
        in: path
        schema:
          type: integer
          minimum: 1.0
          title: OAuth Client ID
          description: ID of the OAuth client
          examples:
          - 1
        description: ID of the OAuth client
        required: true
        deprecated: false
        examples:
          oauth_client_id-example-1:
            value: 1
      responses:
        '204':
          description: Grant revoked
        '400':
          description: Bad Request
        '403':
          description: Request forbidden -- authorization will not help
          content:
            application/json:
              schema:
                properties:
                  status_code:
                    type: integer
                  detail:
                    type: string
                  extra:
                    additionalProperties: {}
                    type:
                    - 'null'
                    - object
                    - array
                type: object
                required:
                - detail
                - status_code
                description: Authorization Exception
                examples:
                - status_code: 403
                  detail: Forbidden
                  extra: {}
        '404':
          description: Not found
        '401':
          description: Authorization error
      deprecated: false
    servers:
    - url: /api/v2
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: 'Primary credential. Authorization: Bearer mm_<token>. The token is issued server-side and shown once at creation.'
      scheme: bearer
    apiKey:
      type: apiKey
      description: Deprecated — use bearerAuth.
      name: X-API-KEY
      in: header
    apiSecret:
      type: apiKey
      description: Deprecated — use bearerAuth.
      name: X-API-SECRET
      in: header
    workspaceId:
      type: apiKey
      description: Required with X-API-KEY and X-API-SECRET. Deprecated with them — use bearerAuth.
      name: X-WORKSPACE-ID
      in: header
x-refined-from:
- app.mammoth.io-openapi.json
- mammoth-io-openapi.json