---
title: "Update a Custom Runtime"
method: PUT
path: "/runtimes/{runtime_id}"
tags: ["Custom Runtimes"]
---

# Update a Custom Runtime

`PUT /runtimes/{runtime_id}`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/runtimes/{runtime_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/runtimes/:runtime_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a custom runtime.

## Path parameters

- `runtime_id` integer, required

## Request body

- RuntimePayload
  - `name` string: The name of the runtime.
  - `description` string: The description of the runtime.
  - `active` boolean: Whether the runtime is active or not.
  - `dockerpath` string: The path to the Docker image.
  - `managed` boolean: Whether the runtime is managed or not.
  - `config` object: The configuration of the runtime.

## Response `200`

Success

- Runtime
  - `id` integer: The unique identifier of the runtime.
  - `owner` Owner
    - `id` integer
    - `full_name` string
    - `email` string, email
  - `org` Org
    - `id` integer
    - `name` string
    - `email_domain` string
    - `email` unknown
    - `client_identifier` unknown
  - `name` string: The name of the runtime.
  - `description` string: The description of the runtime.
  - `created_at` string, date-time: The date and time when the runtime was created.
  - `updated_at` string, date-time: The date and time when the runtime was last updated.
  - `active` boolean: Whether the runtime is active or not.
  - `dockerpath` string: The path to the Docker image.
  - `managed` boolean: Whether the runtime is managed or not.
  - `config` object: The configuration of the runtime.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
