---
title: "POST /gateway-update-remote-access"
method: POST
path: "/gateway-update-remote-access"
tags: ["v2"]
---

# POST /gateway-update-remote-access

`POST /gateway-update-remote-access`

## 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.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
