Delete a PR preview
Deletes a PR preview's service with its containers and volumes. The next push to the PR creates it again while previews are on.
Needs services.update on the service (a grant on its project covers it). Available to MCP clients and the assistant, after a person approves the call.
seylo_session<token>application/json- body
serviceId*stringPanel-issued id.
^[a-z0-9]{16}$previewId*stringPanel-issued id.
^[a-z0-9]{16}$Success.
application/json- response
curl -X POST 'https://example.com/api/v1/previews.delete' \ -H 'Content-Type: application/json' \ -d '{ "serviceId": "string", "previewId": "string"}'{}Change a person's role POST
Makes someone an owner, admin or member. Owners and admins can do everything; members keep their grants and can only do what those allow. Only owners touch owner roles. A promotion (to admin, or to owner) from a browser session needs a sign-in or auth.reauth from the last 15 minutes (FORBIDDEN details.reason "reauth" otherwise); API keys need none. Needs `users.manage`, which owners and admins hold. Not available to MCP clients or the assistant.
Get a service's PR preview settings GET
Returns whether PR previews are on for a service, their domain pattern and limit, and whether the service can have them at all (only GitHub sources can). Needs `services.view` on the service (a grant on its project covers it). Available to MCP clients and the assistant.