Backfill integration definitions from a workspace's legacy OAuth config

Beta

Seed workspace-scoped integration definitions from the workspace’s existing legacy OAuth app config (admin only). Idempotent.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
workspaceIdstringRequired
Workspace whose legacy OAuth config to seed definitions from.
enabledbooleanOptionalDefaults to true
Create definitions enabled.
overwritebooleanOptionalDefaults to false

Replace an existing workspace definition with the same (provider, label).

providerslist of strings or nullOptional

Optional subset of provider keys to backfill (default: all configured).

Response

Successful Response
createdlist of objects
Definitions created.
skippedlist of objects
Definitions skipped, with reasons.

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error