Create a project
Creates an empty project. Services are added to it afterwards.
Needs projects.create, which owners and admins hold. Available to MCP clients and the assistant.
seylo_session<token>application/json- body
name*stringShown in the sidebar; unique, case-insensitive.
^[A-Za-z0-9][A-Za-z0-9 ._-]*$1 <= length <= 40description?stringlength <= 500Success.
application/json- response
id*stringPanel-issued id.
^[a-z0-9]{16}$name*stringShown in the sidebar; unique, case-insensitive.
^[A-Za-z0-9][A-Za-z0-9 ._-]*$1 <= length <= 40description*stringlength <= 500protected*booleanserviceCount*integer0 <= valuenodeCount*integer0 <= valueguestCount*integer0 <= valuenetworkName*stringcollapsed*booleanposition*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://example.com/api/v1/projects.create' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "id": "string", "name": "string", "description": "string", "protected": true, "serviceCount": 0, "nodeCount": 0, "guestCount": 0, "networkName": "string", "collapsed": true, "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Turn PR previews on or off POST
Turns PR previews on or off and sets their domain pattern and limit. Previews use the same environment as the service, so they reach the same database: turning them on requires acknowledgeSharedEnv true. Turning them off removes open previews. Needs `services.update` on the service (a grant on its project covers it). Available to MCP clients and the assistant.
Delete a project POST
Deletes an empty project. Fails while the project still has services, and for the protected Panel project. The caller repeats the project name to confirm. Needs `projects.delete` on the project. Available to MCP clients and the assistant, after a person approves the call.