---
title: "POST /gateway-update-defaults"
method: POST
path: "/gateway-update-defaults"
tags: ["Gateway"]
---

# POST /gateway-update-defaults

`POST /gateway-update-defaults`

## Request

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

## Request body

- GatewayUpdateDefaults: gatewayUpdateDefaults is a command that updates defaults settings
  - `cert-access-id` string: Default Certificate access id for UI login
  - `event-on-status-change` string: Trigger an event when Gateway status is changed [true/false]
  - `hvp-route-version` integer: Hvp route version to use [1/2]
  - `json` boolean: Set output format to JSON
  - `key` string: The name of the gateway default encryption key
  - `oidc-access-id` string: Default OIDC access id for UI login
  - `saml-access-id` string: Default SAML access id for UI login
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `201`

gatewayUpdateDefaultsResponse wraps response body.

- GatewayUpdateOutput
  - `updated` boolean

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