import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.tags.create(data={
"type": latitudesh_python_sdk.CreateTagTagsType.TAGS,
"attributes": {
"name": "Tag Name",
"description": "Tag Description",
"color": "#bebebe",
},
})
# Handle response
print(res)Create a Tag in the team.
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.tags.create(data={
"type": latitudesh_python_sdk.CreateTagTagsType.TAGS,
"attributes": {
"name": "Tag Name",
"description": "Tag Description",
"color": "#bebebe",
},
})
# Handle response
print(res)Was this page helpful?