diff --git a/fern/openapi.json b/fern/openapi.json index 781c3f9e..ee4b023a 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -18874,6 +18874,102 @@ } } } + }, + "post": { + "description": "Create a new project", + "summary": "Create Project (Cloud-only)", + "tags": ["projects"], + "parameters": [], + "operationId": "projects.createProject", + "requestBody": { + "description": "Body", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 3, + "maxLength": 50 + } + }, + "required": ["name"] + } + } + } + }, + "responses": { + "201": { + "description": "201", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["name", "slug", "id"] + } + } + } + } + } + } + }, + "/v1/projects/{projectId}": { + "delete": { + "description": "Delete a project by ID", + "summary": "Delete Project (Cloud-only)", + "tags": ["projects"], + "parameters": [ + { + "name": "projectId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "operationId": "projects.deleteProject", + "requestBody": { + "description": "Body", + "content": { + "application/json": { + "schema": { + "nullable": true + } + } + } + }, + "responses": { + "200": { + "description": "200", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"] + } + } + } + } + } } } },