Policy

Add DataPolicy statements

Add policy statements to a DataPolicy. Acts as an upsert keyed on (itemType, action): for each incoming statement, any existing statement with the same item type and action is overwritten with the provided condition, and statements for other (itemType, action) pairs are left unchanged. Only DataPolicy objects can be edited.

patch/api/v3/policy/{policy_id}:add-policy-statements

Request

  • Base URL
    https://{tenant_name}.benchling.com
  • Auth
    HTTP bearer

Path parameters

policy_idstring required

ID of the Policy.

Request body

Response

OK

__typenamestring
createdAtstring datetime
descriptionstring nullable
idstring
modifiedAtstring datetime
namestring
policyType'DATA_POLICY' | 'SCHEMA_POLICY' | 'POLICY'

Changes

No recorded changes to this operation across all 1 revision of this API.