---
title: "Choose how far calls from Dagu Cloud may go on this server"
method: PUT
path: "/license/remote-access"
tags: ["system"]
---

# Choose how far calls from Dagu Cloud may go on this server

`PUT /license/remote-access`

## Request

- Base URL: `http://localhost/api/v1`
- URL: `http://localhost/api/v1/license/remote-access`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - none

Sets the highest role calls from Dagu Cloud get on this server, whether they may decide steps waiting for a person, or both. Changes apply at once; off closes the connection and ends the calls in flight. Admin only.

## Query parameters

- `remoteNode` string

## Request body

- object
  - `level` 'off' | 'viewer' | 'operator' | 'developer': The highest role calls from Dagu Cloud get on this server: off refuses them, viewer reads DAGs, runs, and logs, operator also starts, enqueues, retries, and stops runs of existing DAGs, and developer also changes DAG definitions and runs inline specs
  - `approvals` boolean: Whether calls from Dagu Cloud may approve, reject, or push back steps waiting for a person

## Response `200`

Remote access on this server after the change

- LicenseRemoteAccess: How far calls from Dagu Cloud may go on this server, and whether they reach it
  - `level` 'off' | 'viewer' | 'operator' | 'developer', required: The highest role calls from Dagu Cloud get on this server: off refuses them, viewer reads DAGs, runs, and logs, operator also starts, enqueues, retries, and stops runs of existing DAGs, and developer also changes DAG definitions and runs inline specs
  - `levelConfigured` boolean, required: Whether cloud.remote_access in the configuration fixes the level
  - `approvals` boolean, required: Whether calls from Dagu Cloud may approve, reject, or push back steps waiting for a person
  - `approvalsConfigured` boolean, required: Whether cloud.remote_approvals in the configuration fixes approvals
  - `connected` boolean, required: Whether this server process holds its connection to the relay, so calls from Dagu Cloud reach it
  - `error` string: Why the last connection failed or Dagu Cloud refused it, such as a workspace without a plan or a trial

## Other responses

- `400`: Unknown level, nothing to change, or license management is not available
- `403`: Insufficient permissions
- `409`: cloud.remote_access or cloud.remote_approvals in the configuration fixes the setting
- `default`: Unexpected error

## Changes

> 208 revisions in range; 1 not diffed.

- **2026-10-21** (v1) `f91c7a08e718`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dagucloud/apis/dagu/changes/license/remote-access/put.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) - [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) - [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/742c8ecb39ce?raw)
