Elimina ambiente
DELETE/v1/environments/{environment_id}
Elimina un ambiente tramite ID. Restituisce una conferma dell'eliminazione.
Parameters
Returns
Elimina ambiente
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_environment_delete_response = anthropic.beta.environments.delete("env_011CZkZ9X2dpNyB7HsEFoRfW")
puts(beta_environment_delete_response)Response 200
{
"id": "env_011CZkZ9X2dpNyB7HsEFoRfW",
"type": "environment_deleted"
}Returns Examples
Response 200
{
"id": "env_011CZkZ9X2dpNyB7HsEFoRfW",
"type": "environment_deleted"
}