Skip to main content
POST
/
projects
Python (SDK)
import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.projects.create(data={
        "type": latitudesh_python_sdk.CreateProjectProjectsType.PROJECTS,
        "attributes": {
            "name": "Cormier-Corkery",
            "provisioning_type": latitudesh_python_sdk.CreateProjectProvisioningType.ON_DEMAND,
            "description": "Thick slices of French toast bread, brown sugar, half-and-half and vanilla, topped with powdered sugar. With two eggs served any style, and your choice of smoked bacon or smoked ham.",
            "environment": latitudesh_python_sdk.CreateProjectProjectsEnvironment.DEVELOPMENT,
        },
    })

    # Handle response
    print(res)
{
  "data": {
    "id": "proj_lkg1De8vqvZE5",
    "type": "projects",
    "attributes": {
      "tags": [],
      "name": "Kshlerin, Hand and Beer",
      "slug": "kshlerin-hand-and-beer",
      "description": "Thick slices of French toast bread, brown sugar, half-and-half and vanilla, topped with powdered sugar. With two eggs served any style, and your choice of smoked bacon or smoked ham.",
      "bandwidth_alert": null,
      "environment": "Development",
      "provisioning_type": "on_demand",
      "billing_type": "Normal",
      "billing_method": "Normal",
      "billing": {
        "subscription_id": "sub_xb48v35nx0aybq",
        "type": "Normal",
        "method": "Normal"
      },
      "team": {
        "id": "team_GJ5KavgA8es2BK0keG7xu4N9ZlY",
        "name": "141 Team",
        "slug": "141-team",
        "description": "141 Team",
        "address": "Apt. 307 36420 Randell Hollow, Dungborough, GA 20702",
        "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:34+00:00",
      "updated_at": "2025-07-16T18:36:34+00:00"
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Body

data
object

Response

201 - application/vnd.api+json

Created

data
object
I