Authorizations
Path Parameters
The project ID or Slug
Body
Response
200 - application/vnd.api+json
Success
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_LGXPdWpgqnNWk", data={
"id": "proj_LGXPdWpgqnNWk",
"type": latitudesh_python_sdk.UpdateProjectProjectsType.PROJECTS,
"attributes": {
"tags": [
"tag_mELJ1g6Z31SG0xzYx9e5fV91K7W",
"tag_wR5nAvxpnJiRn8AppN0JilvWY0y",
],
},
})
# 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": []
},
"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_LGXPdWpgqnNWk", data={
"id": "proj_LGXPdWpgqnNWk",
"type": latitudesh_python_sdk.UpdateProjectProjectsType.PROJECTS,
"attributes": {
"tags": [
"tag_mELJ1g6Z31SG0xzYx9e5fV91K7W",
"tag_wR5nAvxpnJiRn8AppN0JilvWY0y",
],
},
})
# 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": []
},
"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
Success
Show child attributes
Was this page helpful?