Skip to main content
from gravixlayer import GravixLayer

client = GravixLayer()
runtime = client.runtime.create(template="python-3.14-base-small")
ctx = client.runtime.create_context(runtime.runtime_id)

response = client.runtime.delete_context(runtime.runtime_id, ctx.context_id)
print(response.message)

runtime.kill()

Parameters

ParameterTypeRequiredDescription
runtime_idstringYesRuntime identifier
context_idstringYesContext identifier

Response

FieldTypeDescription
messagestringConfirmation message
context_idstringDeleted context ID