Delete Media Storage Connection

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "iFormBuilder V80 MCP server": {
    "url": "https://apidocs.zerionsoftware.com/doc/iformbuilder-v80/mcp"
  }
}

Close
DELETE /media_storage/connections/{location}

Removes the profile's connection to the provider. The stored token is deleted, and the provider grant revoked where supported (Dropbox, Google Drive), only when no other profile uses it. Unlinking a shared connection leaves it in place for the other profiles.

If location is the profile's active media storage location, the profile is reset to S3 (MEDIA_LOCATION 5) in the same transaction, so it never points at a removed connection. Deleting an inactive location leaves the active one unchanged.

For Dropbox the legacy ZCCompanyInfo Dropbox columns are cleared as well.

Authorization

Internal clients only, and a SERVER or COMPANY user.

Headers

  • Authorization string

    e.g. Bearer {access_token}

Path parameters

  • location integer Required

    provider location

    Values are 2, 3, 6, 7, or 8.

Responses

  • 200 application/json

    OK - the profile's remaining connections. Also returned when nothing was connected for location.

    Hide response attributes Show response attributes object
    • provider string Required

      Values are dropbox, box, onedrive, sharepoint, or google_drive.

    • location integer Required

      the ZCApiConnector location code (2 Dropbox, 3 Box, 6 OneDrive, 7 SharePoint, 8 Google Drive)

    • active boolean Required

      whether this is the profile's active media storage location

    • destination_root string

      present only on the active location; a folder path for OneDrive and Dropbox, a library name for SharePoint, a folder id for Box and Google Drive

    • account string

      the provider account's display name, when known

  • 401

    Unauthorized - missing or invalid bearer token.

  • 403

    Forbidden - the client is not an internal client, or the token belongs to a BASIC user.

  • 404

    Not Found - location is not one of 2, 3, 6, 7, 8.

DELETE /media_storage/connections/{location}
curl \
 --request DELETE 'https://api.iformbuilder.com/exzact/api/v80/[servername]/media_storage/connections/{location}' \
 --header "Authorization: Bearer {access_token}"
Response examples (200)
[
  {
    "provider": "google_drive",
    "location": 8,
    "active": false,
    "account": "Jane Example"
  }
]