Agents

Delete an agent environment template

Changed on

Deletes reusable environment configuration and all confidential template inputs. See reusing a hosted setup.

delete/agents/environments/templates/{environment_template_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/agents/environments/templates/{environment_template_id}
  • Auth
    HTTP bearer

Path parameters

environment_template_idstring required

The ID of the reusable environment template.

Response

The deleted environment template.

idstring required

The ID of the deleted environment template.

object'agent.environment.template.deleted' required

The object type. Always agent.environment.template.deleted.

deletedboolean required

Whether the environment template was deleted. Always true.

Changes