---
title: "POST /gateway-update-remote-access"
method: POST
path: "/gateway-update-remote-access"
tags: ["Secure Remote Access"]
---

# POST /gateway-update-remote-access

`POST /gateway-update-remote-access`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/gateway-update-remote-access`
- Auth: none declared

## Request body

- GatewayUpdateRemoteAccess: gatewayUpdateRemoteAccess is a command that update remote access config
  - `allowed-ssh-url` string: Specify a valid SSH-URL to tunnel to SSH session
  - `allowed-urls` string: List of valid URLs to redirect from the Portal back to the remote access server (in a comma-delimited list)
  - `default-session-ttl-minutes` string: Default session TTL in minutes
  - `hide-session-recording` string: Specifies whether to show/hide if the session is currently recorded [true/false]
  - `json` boolean: Set output format to JSON
  - `kexalgs` string: Decide which algorithm will be used as part of the SSH initial hand-shake process
  - `keyboard-layout` string: Enable support for additional keyboard layouts
  - `legacy-ssh-algorithm` string: Signs SSH certificates using legacy ssh-rsa-cert-01@openssh.com signing algorithm [true/false]
  - `rdp-target-configuration` string: Specify the usernameSubClaim that exists inside the IDP JWT, e.g. email
  - `ssh-target-configuration` string: Specify the usernameSubClaim that exists inside the IDP JWT, e.g. email
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayUpdateRemoteAccessResponse wraps response body.

- GatewayUpdateRemoteAccessOutput

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/infrastructure-connectivity.md) - [All operations](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/infrastructure-connectivity/revisions/62dc62fea89d?raw)
