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

# /request-access

# 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": {
    "/request-access": {
      "post": {
        "operationId": "requestAccess",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/requestAccess"
              }
            }
          },
          "required": true,
          "x-go-name": "Body"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/requestAccessResponse"
          },
          "default": {
            "$ref": "#/components/responses/errorResponse"
          }
        },
        "tags": [
          "General"
        ],
        "x-docs-category": "Account Settings",
        "x-docs-group": "General"
      }
    }
  },
  "tags": [
    {
      "name": "General"
    }
  ],
  "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"
            }
          }
        }
      },
      "requestAccessResponse": {
        "description": "requestAccessResponse wraps response body.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/requestAccessOutput"
            }
          }
        }
      }
    },
    "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"
      },
      "requestAccess": {
        "properties": {
          "capability": {
            "description": "List of the required capabilities options: [read, update, delete]",
            "items": {
              "type": "string"
            },
            "type": "array",
            "x-go-name": "Capabilities"
          },
          "comment": {
            "description": "Deprecated - use description",
            "type": "string",
            "x-go-name": "Comment"
          },
          "description": {
            "description": "Description of the object",
            "type": "string",
            "x-go-name": "Description"
          },
          "json": {
            "default": false,
            "description": "Set output format to JSON",
            "type": "boolean",
            "x-go-name": "Json"
          },
          "name": {
            "description": "Item name",
            "type": "string",
            "x-go-name": "ItemName"
          },
          "requested_ttl": {
            "description": "Requested access TTL in minutes. Allowed range is 1 to 1440. Defaults to 60 when omitted.",
            "format": "int64",
            "type": "integer",
            "x-go-name": "RequestedTtl"
          },
          "token": {
            "description": "Authentication token (see `/auth` and `/configure`)",
            "type": "string",
            "x-go-name": "Profile"
          },
          "type": {
            "description": "Item type",
            "type": "string",
            "x-go-name": "ItemType"
          },
          "uid-token": {
            "description": "The universal identity token, Required only for universal_identity authentication",
            "type": "string",
            "x-go-name": "UIDToken"
          }
        },
        "required": [
          "name",
          "type",
          "capability"
        ],
        "title": "requestAccess is a command that requests access for an item.",
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      },
      "requestAccessOutput": {
        "properties": {
          "response": {
            "type": "string",
            "x-go-name": "Response"
          }
        },
        "type": "object",
        "x-go-package": "akeyless.io/akeyless-main-repo/go/src/client/commands"
      }
    }
  }
}
```