Backfill integration definitions from a workspace's legacy OAuth config
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.
workspaceId
Workspace whose legacy OAuth config to seed definitions from.
enabled
Create definitions enabled.
overwrite
Replace an existing workspace definition with the same (provider, label).
providers
Optional subset of provider keys to backfill (default: all configured).
Response
Successful Response
created
Definitions created.
skipped
Definitions skipped, with reasons.
Errors
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
