Method | Endpoint | Description |
|---|---|---|
GET | <baseApiUrl><prefix>/data-access-controls | Retrieve the list of all published data access control policies. |
GET | <baseApiUrl><prefix>/data-access-controls/{ID} | Retrieve the draft or published version of a specified data access control policy. |
Parameter | Type | Description |
|---|---|---|
offset | Integer | Optional. Specify the record number from which to begin returning assets. The default value is zero. |
limit | Integer | Optional. Specify the total number of records to return. The default value is 500. |
fetchDraft | Boolean | Optional. Retrieve the draft version of a specified data access control policy. When using the <baseApiUrl><prefix>/data-access-controls/{ID} endpoint, use fetchDraft=true.The default value is false. Note: To retrieve the draft version of all data access control policies, see Retrieve assets in the catalog. |
Method | Endpoint | Description |
|---|---|---|
POST | <baseApiUrl><prefix>/data-access-controls | Create new data access control policies. |
Parameter | Type | Description |
|---|---|---|
name | String | Required. Specify the name of the asset. |
externalId | String | Optional. Specify the external identifier of the asset. |
description | String | Optional. Specify the description of the asset. |
enabled | Boolean | Optional. Specify the status of the asset: true|false. |
effectiveDate | String | Optional. Specify the start date of the asset in the format yyyy-mm-dd. |
endDate | String | Optional. Specify the end date of the asset in the format yyyy-mm-dd. |
enforcementMethod | String | Optional. Specify the data access policy enforcement method: PUSHDOWN |
stakeholders | Object | Optional. Specify the following attributes to add a stakeholder to the asset. stakeholderId: The internal ID of the stakeholder. You can find this ID by looking at the URL of the stakeholder page in Data Governance and Catalog. roleId: The internal ID of the role for the stakeholder. You can find this ID in the role details in Administrator. Navigate to the User Roles page, open the user role, and copy the ID at the end of the URL. stakeholderType: Specify whether the stakeholder is a USER or GROUP. |
dataAccessRules | Object | Optional. Define one or more data access control rules. ruleName: String. Name of the rule. ruleDescription: String. Description of the rule. enabled: Boolean. Status of the rule. rank: Integer. Ranking of the rule within the policy. condition: Object. Set of conditions for the rule. accessControls: Object. Asset query and permissions that the rule grants. |
Method | Endpoint | Description |
|---|---|---|
PUT | <baseApiUrl><prefix>/data-access-controls/{ID} | Replace a specified data access control policy. |
PATCH | <baseApiUrl><prefix>/data-access-controls/{ID} | Modify the details of a specified data access control policy. |
Parameter | Type | Description |
|---|---|---|
name | String | Required. Specify the name of the asset. |
externalId | String | Optional. Specify the external identifier of the asset. |
description | String | Optional. Specify the description of the asset. |
enabled | Boolean | Optional. Specify the status of the asset: true|false. |
effectiveDate | String | Optional. Specify the start date of the asset in the format yyyy-mm-dd. |
endDate | String | Optional. Specify the end date of the asset in the format yyyy-mm-dd. |
stakeholders | Object | Optional. Specify the following attributes to add a stakeholder to the asset. stakeholderId: The internal ID of the stakeholder. You can find this ID by looking at the URL of the stakeholder page in Data Governance and Catalog. roleId: The internal ID of the role for the stakeholder. You can find this ID in the role details in Administrator. Navigate to the User Roles page, open the user role, and copy the ID at the end of the URL. stakeholderType: Specify whether the stakeholder is a USER or GROUP. |
dataAccessRules | Object | Optional. Define one or more data access control rules. ruleName: String. Name of the rule. ruleDescription: String. Description of the rule. rank: Integer. Ranking of the rule within the policy. condition: Object. Set of conditions for the rule. accessControls: Object. Asset query and permissions that the rule grants. |
Method | Endpoint | Description |
|---|---|---|
DELETE | <baseApiUrl><prefix>/data-access-controls/{ID} | Delete a specified data access control policy. |