Update a Data Contract
Create or update a data contract with a full request body
PUT
PUT /v1/dataContracts
Update a Data Contract
Create a data contract or update it if it already exists, usingPUT /v1/dataContracts with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.
Body Parameters
Name of the data contract, 1 to 256 characters. The contract’s fully qualified name is
<entityFQN>.dataContract_<name>.Reference to the data asset this contract applies to. An entity can have only one contract.
Contract status:
Draft, In Review, Approved, Rejected, Deprecated, or Archived.Expected columns or fields. Supported for
table, topic, apiEndpoint, and dashboardDataModel only. Each item follows the Column schema. Every name must exist on the entity, and no name can repeat.Service level agreement expectations. Stored and shown on the contract. Validation runs check it for tables, except retention.
Terms of use in Markdown format. Describes allowed and disallowed uses and compliance requirements. Returned as
termsOfUse.content on the contract.Reviewer references (users or teams). When set, only a reviewer can move the contract from
In Review to Approved or Rejected.PUT /v1/dataContracts