SpyBara
Go Premium

ruby/resources/containers/methods/delete/index.md 2026-06-09 06:34 UTC to 2026-06-10 15:48 UTC

This page contains 23 additions and 0 deletions.

2026
Wed 10 15:48

Delete a container

containers.delete(container_id) -> void

delete /containers/{container_id}

Delete Container

Parameters

  • container_id: String

Example

require "openai"

openai = OpenAI::Client.new(api_key: "My API Key")

result = openai.containers.delete("container_id")

puts(result)