> For the complete documentation index, see [llms.txt](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/developers/api/access-requests/endpoints/manageglobalsettings.md). Agents can also search and read this documentation through its [MCP server](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/~gitbook/mcp).

# Manage Global Settings

Configure global settings for Access Requests

## Overview

Manages system-wide Access Request settings that control approval workflows and auto-grant behavior.

{% openapi src="/files/Aco9gj4MY2XoNiD4zIjr" path="/api/private/lifecycle\_management/access\_requests/settings" method="patch" %}
[openapi.yaml](https://1967633068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZDkWMxox3pekd0NsZJ%2Fuploads%2Fgit-blob-7be9b9d3020988e9379a0e5e39ed089aa98633f5%2Fopenapi.yaml?alt=media)
{% endopenapi %}

## Approval flags are mutually exclusive

Each approval scope (`admin_approval_settings`, `app_owner_approval_settings`, and `access_profile_owner_approval_settings`) has two flags, `grant_without_approval` and `allow_approval_on_request`. **They are mutually exclusive — set exactly one to `true` per scope.**

{% hint style="warning" %}
Setting both flags to `true` in the same scope is silently rejected. The API returns `200 OK`, but resets **both** flags to `false` (no field violation is reported). Always send exactly one flag as `true`; leave the other `false`.
{% endhint %}

On a tenant licensed for Access AuthZ, leaving `admin_approval_settings` at its default (both flags `false`) is sufficient for admin requests to auto-grant. Set `grant_without_approval: true` explicitly only when you need that behavior on a tenant without the Access AuthZ license, or to override the default. See [Prerequisites and Setup](https://docs.veza.com/4yItIzMvkpAvMVFAamTf/developers/api/access-requests/prerequisites.md) for the full approval-flow model.

## Examples

### Enable Access Requests with Auto-Approval

This grants admin requests immediately. Note that `grant_without_approval` is `true` and `allow_approval_on_request` is `false` — never set both to `true`.

```bash
curl -X PATCH "https://your-instance.vezacloud.com/api/private/lifecycle_management/access_requests/settings" \
  -H "authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "admin_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": true
    },
    "access_profile_owner_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": false
    },
    "app_owner_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": false
    }
  }'
```

### Response

```json
{
  "value": {
    "event_notification_settings": [],
    "admin_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": true
    },
    "access_profile_owner_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": false
    },
    "access_profile_requestable_settings": {
      "allow_all": false,
      "allow_with_labels": [],
      "allow_from_types": []
    },
    "enabled": true,
    "access_request_event_notification_settings": {
      "values": []
    },
    "available_explanations": [],
    "delegations": {
      "delegations": []
    },
    "deny_requesters": [],
    "deny_approvers": [],
    "actions_require_sso_login": [],
    "app_owner_approval_settings": {
      "allow_approval_on_request": false,
      "grant_without_approval": false
    }
  }
}
```

### Enable with Manual Approval

```bash
curl -X PATCH "https://your-instance.vezacloud.com/api/private/lifecycle_management/access_requests/settings" \
  -H "authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "admin_approval_settings": {
      "allow_approval_on_request": true,
      "grant_without_approval": false
    },
    "access_profile_owner_approval_settings": {
      "allow_approval_on_request": true,
      "grant_without_approval": false
    }
  }'
```

### Get Current Settings

```bash
curl -X GET "https://your-instance.vezacloud.com/api/private/lifecycle_management/access_requests/settings" \
  -H "authorization: Bearer YOUR_API_TOKEN"
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.veza.com/4yItIzMvkpAvMVFAamTf/developers/api/access-requests/endpoints/manageglobalsettings.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
