# Update Data Pool Access Settings Update data pool access settings for a specific organization. Endpoint: PUT /organizations/{id}/globalsettings/datapoolaccesssettings/{dataSourceTechnicalKey} Version: 2 Security: apiKey ## Path parameters: - `id` (string, required) Organization ID. Example: "cdq_monitor" - `dataSourceTechnicalKey` (string, required) Data Source Technical Key. Example: "BR_RF" ## Request fields (application/json): - `activationStatus` (string) Whether an organization has activated a data source. Enum: "ACTIVE", "INACTIVE" - `termsAcceptanceStatus` (string) Whether an organization has accepted the terms of use of a data source. Enum: "ACCEPTED", "NOT_ACCEPTED" - `credentials` (array) List of credentials. - `credentials.type` (object) Credential type. - `credentials.type.label` (string) Label of the credential type. Example: "API Key" - `credentials.type.technicalKey` (string) Type of credential. Use DataSourceCredentialType instead Example: "AT.FON.TID" - `credentials.fields` (array) List of credential fields. - `credentials.fields.type` (object) Credential field type. - `credentials.fields.type.technicalKey` (string) Type of a generic credential value Example: "USERNAME" - `credentials.fields.type.label` (string) Label of the credential field type. Example: "API Key" - `credentials.fields.type.type` (string) Type of the credential field type. Example: "API Key" - `credentials.fields.value` (string) Generic credential value. If CredentialType is PASSWORD, the value is masked. Example: "********" ## Response 200 fields (application/json): - `dataSourceSettings` (array) List of data source settings. - `dataSourceSettings.dataSource` (object) Data Source of the Data Pool. - `dataSourceSettings.dataSource.url` (string) Documentation of the data source in the CDQ Wiki. Example: "https://meta.cdq.com/Data_source/BR.RF" - `dataSourceSettings.dataSource.name` (string) Name of the data source. Example: "Receita Federal Brazil" - `dataSourceSettings.dataSource.technicalKey` (string) Technical key of the data source. Example: "BR_RF" - `dataSourceSettings.activationStatus` (string) Whether an organization has activated a data source. Enum: "ACTIVE", "INACTIVE" - `dataSourceSettings.activatedAt` (string) The date when a data source was activated by a user of an organization. Example: "2025-08-29T09:46:58Z" - `dataSourceSettings.activatedBy` (string) The user ID of the user who activated a data source. Example: "tom.sawyer@twain.com" - `dataSourceSettings.deactivatedAt` (string) The date when a data source was deactivated by a user of an organization. Example: "2025-08-29T09:46:58Z" - `dataSourceSettings.deactivatedBy` (string) The user ID of the user who deactivated a data source. Example: "tom.sawyer@twain.com" - `dataSourceSettings.termsAcceptanceStatus` (string) Whether an organization has accepted the terms of use of a data source. Enum: "ACCEPTED", "NOT_ACCEPTED" - `dataSourceSettings.termsAcceptedAt` (string) The date when a user of an organization accepted the terms of use of a data source. Example: "2025-08-29T09:46:58Z" - `dataSourceSettings.termsAcceptedBy` (string) The user ID of the user who accepted the terms of use of a data source. Example: "huckleberry.finn@twain.com" - `dataSourceSettings.termsUnacceptedAt` (string) The date when a user of an organization revoked acceptation the terms of use of a data source. Example: "2025-08-29T09:46:58Z" - `dataSourceSettings.termsUnacceptedBy` (string) The user ID of the user who revoked acceptation the terms of use of a data source. Example: "huckleberry.finn@twain.com" - `dataSourceSettings.licenceUrl` (string) URL that provides information on the licence of the target, see https://meta.cdq.com/Property:Has_licence_URL Example: "https://www.cdq.ch/legal/dsc-terms-of-use" - `dataSourceSettings.termsType` (string) The type of terms of use of a data source. See https://meta.cdq.com/Property:Has_terms_type Example: "https://meta.cdq.com/Data_source/AT.FON" - `dataSourceSettings.allowedCredentialTypes` (array) Describes which credentials should be set for the data source Example: ["BVD_CREDENTIALS"] - `dataSourceSettings.credentials` (array) Organization-specific credentials to access a data source. Only masked credentials are returned. - `dataSourceSettings.credentials.type` (object) Credential type. - `dataSourceSettings.credentials.type.label` (string) Label of the credential type. Example: "API Key" - `dataSourceSettings.credentials.type.technicalKey` (string) Type of credential. Use DataSourceCredentialType instead Example: "AT.FON.TID" - `dataSourceSettings.credentials.fields` (array) List of credential fields. - `dataSourceSettings.credentials.fields.type` (object) Credential field type. - `dataSourceSettings.credentials.fields.type.technicalKey` (string) Type of a generic credential value Example: "USERNAME" - `dataSourceSettings.credentials.fields.type.label` (string) Label of the credential field type. Example: "API Key" - `dataSourceSettings.credentials.fields.type.type` (string) Type of the credential field type. Example: "API Key" - `dataSourceSettings.credentials.fields.value` (string) Generic credential value. If CredentialType is PASSWORD, the value is masked. Example: "********"