Data Policies
Publish a data policy
Changed onPublishes the latest checked version and makes it the one runs use. Send expected_version (from GET /v1/data-policies/{id}/versions): if the policy changed since you read it, the answer is 409 revision_conflict. A script rule with a syntax error is a 400 POLICY_SCRIPT_SYNTAX_ERROR naming the line. Requires specs:write. The person behind the key must be an Admin of the workspace, and the workspace must manage its own configuration; otherwise the answer is 403 insufficient_role.
post/v1/data-policies/{id}/publish
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
object required
expected_version, integer
Response
OK
object required
id, string uuid
status, 'published'
version_id, string uuid
version, integer
Changes
- info
endpoint added
- info