---
title: "Create or update delegation configuration"
method: POST
path: "/resources/configurations/v1/delegation"
tags: ["Delegation"]
---

# Create or update delegation configuration

`POST /resources/configurations/v1/delegation`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/configurations/v1/delegation`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/configurations/v1/delegation/post.ts> (a function with typed inputs; its response is checked against the schema)

Enable or disable the ability to use delegation in a token exchange flow. A vendor token is required for this route.

## Request body

- CreateDelegationConfigurationRequestDto
  - `enabled` boolean: Used to enable or disable delegation for access tokens created using Token Exchange.

## Response `200`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
