---
title: "Change admin team-agent access"
method: POST
path: "/v1/admin/team/agents/{agent_id}/access"
tags: ["Operations"]
---

# Change admin team-agent access

`POST /v1/admin/team/agents/{agent_id}/access`

## Request

- Base URL: `https://loppee.com`
- URL: `https://loppee.com/v1/admin/team/agents/{agent_id}/access`
- Auth: HTTP bearer

Change admin team-agent access. The response is scoped and validated by the runtime repository; unknown or unauthorized resources use the canonical error envelope.

## Path parameters

- `agent_id` string, required

## Request body

- object
  - `role` string, required
  - `reason` string, required
  - `confirm` boolean, required

## Response `200`

Change admin team-agent access response

- object: Changed the team-agent role, revoked the old key, and returned the replacement raw key once.

## Other responses

- `400`: ErrorResponse
- `401`: ErrorResponse
- `403`: ErrorResponse
- `404`: ErrorResponse
- `409`: ErrorResponse
- `413`: ErrorResponse
- `429`: RateLimitError
- `default`: ErrorResponse

---

[API](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents.md) · [All operations](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/revisions/37285f7cddcd?raw)
