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

# Update a custom field.

# 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": "Account Settings",
    "version": "3.0"
  },
  "paths": {
    "/account-custom-field-update": {
      "post": {
        "operationId": "accountCustomFieldUpdate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/accountCustomFieldUpdate"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/accountCustomFieldUpdateResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "summary": "Update a custom field.",
        "tags": [
          "Account"
        ],
        "x-docs-category": "Account Settings",
        "x-docs-group": "Account"
      }
    }
  },
  "tags": [
    {
      "name": "Account"
    }
  ],
  "x-readme": {
    "apply-tag-changes": true
  },
  "servers": [
    {
      "url": "https://api.akeyless.io"
    }
  ],
  "components": {
    "responses": {
      "accountCustomFieldUpdateResponse": {
        "description": "accountCustomFieldUpdateResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/AccountCustomFieldUpdateOutput"
            }
          }
        }
      },
      "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"
            }
          }
        }
      }
    },
    "schemas": {
      "AccountCustomFieldUpdateOutput": {
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "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"
      },
      "accountCustomFieldUpdate": {
        "description": "accountCustomFieldUpdate is a command to update an account custom field",
        "properties": {
          "id": {
            "description": "The custom field id",
            "format": "int64",
            "type": "integer",
            "x-go-name": "ID"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "name": {
            "description": "The new name of the custom field",
            "type": "string",
            "x-go-name": "FieldName"
          },
          "required": {
            "default": false,
            "description": "Specify whether the custom field is mandatory",
            "type": "boolean",
            "x-go-name": "Required"
          },
          "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"
          }
        },
        "required": [
          "id"
        ],
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```