v1
latestOpenAPI 3.1.02026-07-22106199311.5 KBAgents
Update an Agent
This request can be used to update Hybrid Agents. The following fields can be updated:
- name - The name of the Agent.
- description - The description for the agent.
- enableAutoUpdates - Enabling Automatic Updates for the Agent. Note, this cannot be set for Snowflake Agents.
- restrictedAccess - Set to true and use in conjunction with the Allow list if you wish to restrict the use of the agent to specified Environments and Projects.
- trackName - The version track name for the Agent (CURRENT or STABLE). Note, Snowflake agents cannot be updated.
Please note, all the above fields are optional
patch/v1/agents/{agentId}
Path parameters
agentIdstring required
The ID of the agent to update
Request body
Example request
{
"description": "An AWS Agent",
"enableAutoUpdates": "true",
"name": "AWS Agent",
"restrictedAccess": "true",
"trackName": "CURRENT"
}Response
Agent successfully updated