v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
AuthConnector

Initiate admin connector consent

Start the admin consent flow for connectors that require organization-wide admin consent.

get/auth/connectors/{connector_id}/consent/admin

Path parameters

connector_idinteger required

ID of the connector to consent to.

ID of the connector to consent to.

Query parameters

tenant_idinteger
cookie_namestring nullable

Response

Successful Response

consent_urlstring required

URL to redirect the user to for granting consent.

Example response

{
  "consent_url": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?...",
  "connector": {
    "id": 3,
    "name": "OneDrive",
    "provider": "microsoft",
    "caps": [
      "files.read"
    ],
    "scopes": [
      "Files.Read.All",
      "offline_access"
    ]
  }
}