import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.projects.update(project_id="proj_WVQJDMMwDRbyE", data={
"id": "proj_WVQJDMMwDRbyE",
"type": latitudesh_python_sdk.UpdateProjectProjectsType.PROJECTS,
"attributes": {
"tags": [
"tag_xNrKWa1ZaMtBKwaZnYaMTBE2XQb",
"tag_Ge9E4oboPgILP5e9aKNAUB4Gaw5",
],
},
})
# Handle response
print(res){
"data": {
"id": "proj_WVQJDMMwDRbyE",
"type": "projects",
"attributes": {
"tags": [
{
"id": "tag_xNrKWa1ZaMtBKwaZnYaMTBE2XQb",
"name": "Belladonna Took",
"description": "Error excepturi et voluptatum.",
"color": "#2424c2"
},
{
"id": "tag_Ge9E4oboPgILP5e9aKNAUB4Gaw5",
"name": "Eglantine Banks",
"description": "Totam est sit qui.",
"color": "#535341"
}
],
"name": "Moore-Durgan",
"slug": "moore-durgan",
"description": "Sequi occaecati eaque exercitationem.",
"bandwidth_alert": true,
"environment": "Production",
"provisioning_type": "on_demand",
"billing_type": "Normal",
"billing_method": "Normal",
"billing": {
"subscription_id": "sub_gn4j87r9d8dt8s",
"type": "Normal",
"method": "Normal"
},
"team": {
"id": "team_eP8xa4KJl8t3GmjwLw4JfEKMXyr5",
"name": "160 Team",
"slug": "160-team",
"description": "160 Team",
"address": "68937 Leopoldo Greens, New Columbusmouth, NC 91874",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
},
"status": "verified",
"feature_flags": [],
"limits": {
"bare_metal": 5,
"bare_metal_gpu": 1,
"virtual_machine": null,
"virtual_machine_gpu": 0,
"database": null,
"filesystem": null,
"block_storage": null
}
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 0,
"virtual_machines": 0,
"vlans": 0
},
"created_at": "2025-07-16T18:36:35+00:00",
"updated_at": "2025-07-16T18:36:35+00:00"
}
},
"meta": {}
}import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
res = latitudesh.projects.update(project_id="proj_WVQJDMMwDRbyE", data={
"id": "proj_WVQJDMMwDRbyE",
"type": latitudesh_python_sdk.UpdateProjectProjectsType.PROJECTS,
"attributes": {
"tags": [
"tag_xNrKWa1ZaMtBKwaZnYaMTBE2XQb",
"tag_Ge9E4oboPgILP5e9aKNAUB4Gaw5",
],
},
})
# Handle response
print(res){
"data": {
"id": "proj_WVQJDMMwDRbyE",
"type": "projects",
"attributes": {
"tags": [
{
"id": "tag_xNrKWa1ZaMtBKwaZnYaMTBE2XQb",
"name": "Belladonna Took",
"description": "Error excepturi et voluptatum.",
"color": "#2424c2"
},
{
"id": "tag_Ge9E4oboPgILP5e9aKNAUB4Gaw5",
"name": "Eglantine Banks",
"description": "Totam est sit qui.",
"color": "#535341"
}
],
"name": "Moore-Durgan",
"slug": "moore-durgan",
"description": "Sequi occaecati eaque exercitationem.",
"bandwidth_alert": true,
"environment": "Production",
"provisioning_type": "on_demand",
"billing_type": "Normal",
"billing_method": "Normal",
"billing": {
"subscription_id": "sub_gn4j87r9d8dt8s",
"type": "Normal",
"method": "Normal"
},
"team": {
"id": "team_eP8xa4KJl8t3GmjwLw4JfEKMXyr5",
"name": "160 Team",
"slug": "160-team",
"description": "160 Team",
"address": "68937 Leopoldo Greens, New Columbusmouth, NC 91874",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
},
"status": "verified",
"feature_flags": [],
"limits": {
"bare_metal": 5,
"bare_metal_gpu": 1,
"virtual_machine": null,
"virtual_machine_gpu": 0,
"database": null,
"filesystem": null,
"block_storage": null
}
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 0,
"virtual_machines": 0,
"vlans": 0
},
"created_at": "2025-07-16T18:36:35+00:00",
"updated_at": "2025-07-16T18:36:35+00:00"
}
},
"meta": {}
}The project ID or Slug
Show child attributes
projects Show child attributes
Development, Staging, Production Success
Show child attributes
The project ID
Show child attributes
The project name
A unique project identifier
The project description
Yearly, Monthly, Hourly, Normal, Custom Normal, 95th percentile Development, Staging, Production Show child attributes
The number of IP addresses assigned to the project
The IP address prefixes in the project
The number of servers assigned to the project
The number of containers assigned to the project
The number of VLANs assigned to the project
Show child attributes
Was this page helpful?