---
updatedAt: 2026-10-06T17:40:07.000Z
agentTools:
  projectIndex: https://docs.akeyless.io/llms.txt
---

# /gateway-update-defaults

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "contact": {
      "email": "support@akeyless.io",
      "name": "Akeyless",
      "url": "http://akeyless.io"
    },
    "description": "The purpose of this application is to provide access to Akeyless API.",
    "title": "Infrastructure & connectivity",
    "version": "3.0"
  },
  "paths": {
    "/gateway-update-defaults": {
      "post": {
        "operationId": "gatewayUpdateDefaults",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/gatewayUpdateDefaults"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/gatewayUpdateDefaultsResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "Gateway"
        ],
        "x-docs-category": "Infrastructure & connectivity",
        "x-docs-group": "Gateway"
      }
    }
  },
  "tags": [
    {
      "name": "Gateway"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "errorResponse": {
        "description": "errorResponse wraps any error to return it as a JSON object with one \"error\"\nfield.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/JSONError"
            }
          }
        }
      },
      "gatewayUpdateDefaultsResponse": {
        "description": "gatewayUpdateDefaultsResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/gatewayUpdateOutput"
            }
          }
        }
      }
    },
    "schemas": {
      "JSONError": {
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Err"
          }
        },
        "title": "JSONError wraps an error with JSON object.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client"
      },
      "gatewayUpdateDefaults": {
        "description": "gatewayUpdateDefaults is a command that updates defaults settings",
        "properties": {
          "cert-access-id": {
            "default": "use-existing",
            "description": "Default Certificate access id for UI login",
            "type": "string",
            "x-go-name": "CertAccessId"
          },
          "event-on-status-change": {
            "description": "Trigger an event when Gateway status is changed [true/false]",
            "type": "string",
            "x-go-name": "NotifyOnStatusChange"
          },
          "hvp-route-version": {
            "description": "Hvp route version to use [1/2]",
            "format": "int64",
            "type": "integer",
            "x-go-name": "HvpRouteVersion"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "key": {
            "default": "Default",
            "description": "The name of the gateway default encryption key",
            "type": "string",
            "x-go-name": "EncryptionKey"
          },
          "oidc-access-id": {
            "default": "use-existing",
            "description": "Default OIDC access id for UI login",
            "type": "string",
            "x-go-name": "OidcAccessId"
          },
          "saml-access-id": {
            "default": "use-existing",
            "description": "Default SAML access id for UI login",
            "type": "string",
            "x-go-name": "SamlAccessId"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "gatewayUpdateOutput": {
        "properties": {
          "updated": {
            "type": "boolean",
            "x-go-name": "Updated"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```