---
title: "Get a list of admission options"
method: GET
path: "/admission/options"
tags: ["Admission"]
---

# Get a list of admission options

`GET /admission/options`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/admission/options`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/admission/options/get.ts> (a function with typed inputs; its response is checked against the schema)

## Headers

- `X-Auth-Token` string, required

## Response `200`

Success

- RESTAdmissionConfigData
  - `state` RESTAdmissionState
    - `enable` boolean
    - `mode` string
    - `default_action` string
    - `adm_client_mode` string
    - `adm_svc_type` string
    - `adm_client_mode_options` object
      - `service` string
      - `url` string
    - `ctrl_states` object
      - `validate` string
      - `states` boolean
  - `admission_options` RESTAdmRuleTypeOptions
    - `deny_options` RESTAdmCatOptions, required
      - `k8s_options` RESTAdmRuleOptions
        - `rule_options` object, required
          - `rule` string
          - `options` RESTAdmissionRuleOption
            - `name` string, required
            - `ops` string[], required
            - `values` string[]
            - `match_src` string
            - `sub_options` object
              - …
    - `exception_options` RESTAdmCatOptions, required
      - `k8s_options` RESTAdmRuleOptions
        - `rule_options` object, required
          - `rule` string
          - `options` RESTAdmissionRuleOption
            - `name` string, required
            - `ops` string[], required
            - `values` string[]
            - `match_src` string
            - `sub_options` object
              - …
    - `psp_collection` RESTAdmRuleCriterion[]
      - `name` string, required
      - `op` string, required
      - `value` string, required
      - `sub_criteria` RESTAdmRuleCriterion[]
  - `k8s_env` boolean, required

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
