import requests
response = requests.patch(
"https://api.atomscale.ai/tags/",
headers={
"X-API-KEY": "YOUR_API_KEY",
"Content-Type": "application/json"
},
json=[
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"name": "critical",
"tag_category_id": "b1a2c3d4-1111-2222-3333-444455556666"
}
]
)
tags = response.json()