Calendar

Изменить личное подключение внешнего календаря

Пустой credential/password не затирает сохранённый зашифрованный секрет.

patch/api/v1/calendar/connectors/{id}

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/calendar/connectors/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Request body

provider'caldav' | 'icloud' | 'yandex' | 'google' | 'office365'
display_namestring
account_emailstring
direction'both' | 'import' | 'export'
status'connected' | 'paused' | 'disconnected' | 'error'
calendar_urlstring uri
usernamestring
credentialstring
passwordstring

Response

Изменённый коннектор без секрета

oktrue required
idstring uuid required

Changes

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