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

# Activate a Custom Runtime

`PUT /runtimes/{runtime_id}/activate`

## Request

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

Activates a custom runtime with the specified ID.

## Path parameters

- `runtime_id` integer, required

## 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)
