---
updatedAt: 2025-10-15T20:26:37.000Z
agentTools:
  projectIndex: https://readme.mosaicapp.com/llms.txt
---

# End a relationship between a team and an integration.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "Tenant": {
        "type": "apiKey",
        "in": "header",
        "name": "x-tenant",
        "description": "Tenant identifier"
      },
      "RealmId": {
        "type": "apiKey",
        "in": "header",
        "name": "x-realm-id",
        "description": "Realm identifier"
      },
      "ApiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "API key"
      },
      "Origin": {
        "type": "apiKey",
        "in": "header",
        "name": "x-origin",
        "description": "Origin domain"
      }
    }
  },
  "security": [
    {
      "ApiKey": [],
      "Origin": [],
      "Tenant": [],
      "RealmId": []
    }
  ],
  "info": {
    "title": "Mosaic External API Documentation",
    "description": "Rate limit: 500 requests per 5 minutes per API key. Mutations answer 200 and report their outcome on a result callback. A mutation that fails validation sends a failure callback instead: dataType is error, errorDetails carries the message as free text, and errorCode is always UnknownError. A read that fails validation answers with the message and no error code. A mutation that runs out of retries sends no callback; look its outcome up with GET /request_logs.",
    "termsOfService": "https://resources.mosaicapp.com/terms/",
    "contact": {
      "name": "Mosaic",
      "url": "https://mosaicapp.com/",
      "email": "hello@mosaicapp.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://localhost:3001",
      "description": "Mosaic External API Server"
    }
  ],
  "paths": {
    "/api/{team_id}/integrations/deprovision": {
      "post": {
        "tags": [
          "Integrations"
        ],
        "operationId": "Integrations#deprovision",
        "summary": "End a relationship between a team and an integration.",
        "parameters": [
          {
            "in": "path",
            "description": "Team ID",
            "name": "team_id",
            "required": true,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success\n"
          },
          "401": {
            "description": "Invalid Authentication Key and/or Team ID"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "api_request_metadata": {
                    "description": "API Request Metadata",
                    "type": "object"
                  },
                  "integration_type": {
                    "description": "Name of the integration type.\n    (csv-agent, deltek-ajera-cloud, deltek-ajera-hosted, deltek-vantagepoint-cloud, deltek-vision-cloud, deltek-vision-hosted, github, jira-cloud, office365, tray-asana, tray-google-calendar, quickbooks-online, quickbooks-desktop, viewpoint-vista-hosted, bst-hosted)",
                    "type": "string"
                  }
                },
                "required": [
                  "integration_type"
                ]
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Integrations",
      "description": "Operations for Integrations"
    }
  ]
}
```