Delete a variable
DELETE
This loses data or replaces what runs; MCP asks for confirmation first.
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
variableId*stringDone.
curl -X DELETE "https://openpanel.sh/api/v1/variables/$VARIABLE_ID" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"Example response
Empty
Set a variable PUT
Sets it on the project, an environment or a service, replacing one of the same name in that scope. The narrowest scope wins at deploy. Takes effect at the next deployment.
What a service's containers get GET
The variables of the project, its environment and the service, merged with the narrowest winning, as the next deployment will use them. Secrets come without their value.