Set or rotate this org’s OAuth app for a connector
Replaces the stored application wholesale, with one exception the setup form depends on: omitting client_secret keeps the secret already stored, so correcting a typo in the client id cannot destroy a working secret. Send both to rotate. Scope overrides (scope, optional_scope, user_scope) are optional; omit them to keep the connector’s catalog scopes, or send arrays to replace them. Endpoint fields (token host, other authorize params) are not accepted here by design. Returns the same shape as the read, so the secret does not come back. Requires connector:manage.
Request
- Base URL: https://api.elaichi.ai
- URL: https://api.elaichi.ai/connector/{slug}/oauth-app
- Auth: HTTP bearer
Path parameters
Connector slug.
Headers
Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.