Skip to main content
Glama

update_egg_variable

Modify environment variables for Pterodactyl server eggs by updating display names, values, permissions, or validation rules using the variable ID.

Instructions

Update an existing environment variable on an egg (admin action). All fields are optional - only provided fields will be changed. Use list_egg_variables to find the variable_id. Requires Application API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nest_idYesNest ID that contains the egg (from list_nests)
egg_idYesEgg ID that contains the variable (from list_eggs)
variable_idYesVariable ID to update (from list_egg_variables)
nameNoNew display name for the variable
descriptionNoNew description
env_variableNoNew environment variable key
default_valueNoNew default value
user_viewableNoWhether users can see this variable
user_editableNoWhether users can modify this variable
rulesNoNew Laravel validation rules

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zefarie/pterodactyl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server