latestOpenAPI 3.1.02026-08-221163801019.2 KB
f0f28319e448
Tool
Modify the environment variables of a tool
Add, update, or delete the environment variables of a tool. Environment variables must be present in the tool before any versions requiring them can be published.
You cannot delete variables that are required by non-deprecated tool versions.
Permissions
This endpoint requires the following permissions:
- Tool:ModifyTool for the tool whose environment variables to modify.
post/v1/{organization}/tool/{tool_id}/envvar
Path parameters
organizationstring required
tool_idstring required
The ID of the tool to modify
The ID of the tool to modify
Headers
x-mongo-cluster-namestring nullable
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Sec-WebSocket-Protocolstring[]
Request body
Response
Succeeded.