POST /api/v1/tenants/{tid}/projects
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/projectsAuthentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
namestring required- min length 1
- max length 120
Example
{
"name": "string"
}Responses
201 Created
Content type: application/json
idstring requiredtenant_idstring requirednamestring requiredrevisioninteger (int64) requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
Example
{
"id": "string",
"tenant_id": "string",
"name": "string",
"revision": 0,
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required