Stashbase
Projects

Create

Create a new project.

POST
/v1/projects/

Create a new project.

Request Body

application/json

Create new project body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/projects/" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "id": "pr_2AnKcBluEENNfFKtXzrHBS",
  "name": "demo-app",
  "created_at": "2024-05-05T10:00:00Z",
  "updated_at": "2024-05-05T10:00:00Z",
  "description": null,
  "environment_count": 0,
  "access_level": "full"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}