Integrations

Update an integration

Updates an integration's display name. Pass null to clear it. Tokens and the mailbox are fixed by OAuth and cannot be changed.

patch/api/v1/integrations/{integrationId}

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/integrations/{integrationId}
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

integrationIdstring required

Request body

namestring nullable required

Response

The updated integration.

idstring required
provider'google' | 'microsoft' required
mailboxstring required
namestring nullable required
status'active' | 'revoked' | 'error' required
scopesstring[] required
hasRefreshTokenboolean required
hasAccessTokenboolean required
accessTokenExpiresAtstring nullable required
lastSyncedAtstring nullable required
createdAtstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.