---
title: "Upsert Role Config Route"
method: PUT
path: "/api/v1/proxies/{proxy_id}/role-configs/{role}"
tags: ["proxies"]
---

# Upsert Role Config Route

`PUT /api/v1/proxies/{proxy_id}/role-configs/{role}`

## Path parameters

- `role` string, required
- `proxy_id` string, uuid, required

## Headers

- `Authorization` string, nullable

## Request body

- ProxyRoleConfigUpsert
  - `intent` string, nullable

## Response `200`

Successful Response

- ProxyRoleConfigRead
  - `agent_role` string, required
  - `intent` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xenovia/apis/controlplane.md) · [All operations](https://skmtc.net/xenovia/apis/controlplane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xenovia/controlplane/revisions/4e9892b1f604/schema)
