You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d0dc6de
Browse filesBrowse the repository at this point in the historyBrowse files
|`-y, --yes`| Yes | Confirm replacement of all source permissions. |
324
+
325
+
</CommandTable>
326
+
327
+
API request and response schemas: [createSourcePermissionImport](/api-reference/organizations/createSourcePermissionImport), [putSourcePermissionImportPart](/api-reference/organizations/putSourcePermissionImportPart), [completeSourcePermissionImport](/api-reference/organizations/completeSourcePermissionImport).
328
+
296
329
### Complete source permission import
297
330
298
331
This replaces the source’s permission grants. Readers omitted from the new grants lose access.
|`--credential-id <value>`| No | OAuth credential identifier for connector types whose `auth.mode` is `oauth` (see connector types), or a saved credential for an `apiKey` connector type that declares `auth.savedCredential` (such as Amazon S3 with a saved AWS credential); otherwise omit it for `apiKey` connectors. |
1309
+
|`--api-key <value\|@file>`| No | Write-only API key for connector types whose `auth.mode` is `apiKey` (see connector types), or a personal access token for an OAuth connector that also accepts one, such as GitHub. Send it instead of `credentialId`. Pass a raw key, or a secret reference written as the whole value `{{SECRET_NAME}}`, which the server resolves; `$SECRET_NAME` is not a reference. (@path / @- reads a file or stdin verbatim, including trailing newlines; @@value for a literal leading @). |
1310
+
|`--source-config <json\|@file>`| Yes | Connector-specific source selection and filtering configuration. (JSON, or @path / @- to read a file or stdin). |
1311
+
|`--access-mode <value>`| No | Source-managed permissions (admin), or individually connected member accounts (members). Defaults to "admin". Accepted values: `admin`, `members`. |
1312
+
|`--permission-config <json\|@file>`| No | Provider-specific permissions for initial setup. Large CSV snapshots use permission imports after creation. (JSON, or @path / @- to read a file or stdin). |
1313
+
1314
+
</CommandTable>
1315
+
1316
+
API request and response schemas: [createSearchSource](/api-reference/organizations/createSearchSource).
1317
+
1318
+
### Update search source
1319
+
1320
+
This updates source settings and may replace its permission grants.
|`--api-key <value\|@file>`| No | Replacement token for providers supporting credential updates (currently GitLab). For GitLab, supply permissionConfig with the current expectedRevision; omitted CSVs retain grants. Omit to keep the saved token. (@path / @- reads a file or stdin verbatim, including trailing newlines; @@value for a literal leading @). |
1344
+
|`--source-config <json\|@file>`| No | Complete replacement source configuration. Read the existing configuration before editing it. (JSON, or @path / @- to read a file or stdin). |
1345
+
|`--permission-config <json\|@file>`| No | Provider-specific permission update, using the current expectedRevision. Omit to retain permissions. (JSON, or @path / @- to read a file or stdin). |
1346
+
|`--status <value>`| No | Pause or resume this source without changing its ID or stored permissions. Accepted values: `active`, `paused`. |
1347
+
|`-y, --yes`| Yes | Confirm this operation. |
1348
+
1349
+
</CommandTable>
1350
+
1351
+
API request and response schemas: [updateSearchSource](/api-reference/organizations/updateSearchSource).
1352
+
1353
+
### Delete search source
1354
+
1355
+
This removes the source and its permission grants.
0 commit comments