Update DQ tags for a table
curl --request PUT \
--url https://api.example.com/api/data-readiness/data-assets/tables/dq-tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"columns": [
{
"name": "<string>",
"data_quality": [
{}
]
}
]
}
'import requests
url = "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags"
payload = { "columns": [
{
"name": "<string>",
"data_quality": [{}]
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({columns: [{name: '<string>', data_quality: [{}]}]})
};
fetch('https://api.example.com/api/data-readiness/data-assets/tables/dq-tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'columns' => [
[
'name' => '<string>',
'data_quality' => [
[
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags"
payload := strings.NewReader("{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/api/data-readiness/data-assets/tables/dq-tags")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/data-readiness/data-assets/tables/dq-tags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"table_fqn": "<string>",
"columns_processed": 0,
"tags_deleted": 0,
"tags_preserved": 0,
"tags_not_found": 0,
"errors": [
"<string>"
]
}{
"error": {
"code": "WORKFLOW_NOT_FOUND",
"message": "Workflow configuration with id '123e4567-e89b-12d3-a456-426614174000' not found",
"details": {
"workflow_id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"request_id": "req_abc123xyz"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"error": {
"code": "WORKFLOW_NOT_FOUND",
"message": "Workflow configuration with id '123e4567-e89b-12d3-a456-426614174000' not found",
"details": {
"workflow_id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"request_id": "req_abc123xyz"
}Data Assets
Update DQ tags for a table
Update (delete) DQ tags for columns in a table. This is a delete-only operation: for each column in the request, tags in the DB that are NOT in the request will be deleted. Columns not in the request are unchanged. Request tags not in DB are ignored.
PUT
/
api
/
data-readiness
/
data-assets
/
tables
/
dq-tags
Update DQ tags for a table
curl --request PUT \
--url https://api.example.com/api/data-readiness/data-assets/tables/dq-tags \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"columns": [
{
"name": "<string>",
"data_quality": [
{}
]
}
]
}
'import requests
url = "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags"
payload = { "columns": [
{
"name": "<string>",
"data_quality": [{}]
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({columns: [{name: '<string>', data_quality: [{}]}]})
};
fetch('https://api.example.com/api/data-readiness/data-assets/tables/dq-tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'columns' => [
[
'name' => '<string>',
'data_quality' => [
[
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/data-readiness/data-assets/tables/dq-tags"
payload := strings.NewReader("{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.example.com/api/data-readiness/data-assets/tables/dq-tags")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/data-readiness/data-assets/tables/dq-tags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"columns\": [\n {\n \"name\": \"<string>\",\n \"data_quality\": [\n {}\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"table_fqn": "<string>",
"columns_processed": 0,
"tags_deleted": 0,
"tags_preserved": 0,
"tags_not_found": 0,
"errors": [
"<string>"
]
}{
"error": {
"code": "WORKFLOW_NOT_FOUND",
"message": "Workflow configuration with id '123e4567-e89b-12d3-a456-426614174000' not found",
"details": {
"workflow_id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"request_id": "req_abc123xyz"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"error": {
"code": "WORKFLOW_NOT_FOUND",
"message": "Workflow configuration with id '123e4567-e89b-12d3-a456-426614174000' not found",
"details": {
"workflow_id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"request_id": "req_abc123xyz"
}Authorizations
Query Parameters
Body
application/json
Request model for updating (deleting) DQ tags on a table's columns.
This is a full-replacement delete-only operation:
- For each column in the request: delete DB tags whose IDs are NOT in data_quality list
- Columns NOT in request: unchanged (their tags are preserved)
- Tags in request that don't exist in DB: ignored (no adding)
Response
Successful Response
Result of updating DQ tags for a table.
The success field indicates whether the operation completed without errors:
True: All requested deletions were processed successfullyFalse: One or more errors occurred (e.g., invalid UUID format)
Note: Even when success=False, some tags may have been successfully deleted.
Check tags_deleted for the actual count of deleted tags. The errors field
contains details about what failed.
Was this page helpful?

