Skip to main content
DELETE
/
tags
/
data-items
/
import requests

response = requests.delete(
    "https://api.atomscale.ai/tags/data-items/",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
        "tag_ids": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
    }
)
{}
Removes the given tags from the given data items. Every tag in tag_ids is removed from every data item in data_ids.
This DELETE request takes a JSON body rather than query parameters. Set the Content-Type header to application/json and send data_ids and tag_ids in the body.
data_ids
array
required
Array of data item UUIDs to untag
tag_ids
array
required
Array of tag UUIDs to remove

Response

Returns an empty response on success.
import requests

response = requests.delete(
    "https://api.atomscale.ai/tags/data-items/",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "data_ids": ["d290f1ee-6c54-4b01-90e6-d701748f0851"],
        "tag_ids": ["7c9e6679-7425-40de-944b-e07fc1f90ae7"]
    }
)
{}