For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inBook a demo
DocsReferenceChangelog
DocsReferenceChangelog
  • Introduction
    • Overview
    • Errors
  • SDK
    • Overview
    • Decorators
    • Run Evaluation
  • API
      • POSTLog to an Agent
      • PATCHUpdate Agent Log
      • STREAMCall Agent
      • STREAMContinue Agent Call
      • GETList Agents
      • POSTUpsert Agent
      • DELDelete Agent Version
      • PATCHUpdate Agent Version
      • GETGet Agent
      • DELDelete Agent
      • PATCHMove Agent
      • GETList Versions of a Agent
      • POSTDeploy Agent
      • DELRemove Deployment
      • GETList an Agent's Environments
      • POSTUpdate Monitoring
      • GETSerialize
      • POSTDeserialize
LogoLogo
Sign inBook a demo
APIAgents

Remove Deployment

DELETE
https://api.humanloop.com/v5/agents/:id/environments/:environment_id
DELETE
/v5/agents/:id/environments/:environment_id
$curl -X DELETE https://api.humanloop.com/v5/agents/id/environments/environment_id \
> -H "X-API-KEY: <apiKey>"
Remove deployed Agent from the Environment. Remove the deployed version for the specified Environment. This Agent will no longer be used for calls made to the Agent in this Environment.
Was this page helpful?
Previous

List an Agent's Environments

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

idstringRequired
Unique identifier for Agent.
environment_idstringRequired
Unique identifier for the Environment to remove the deployment from.

Errors

422
Remove Deployment Agents ID Environments Environment ID Delete Request Unprocessable Entity Error