---
title: "Update Agent Profile Pool"
method: PATCH
path: "/agents/v2/agent-profile-pools/{poolId}"
tags: ["Agent Profile Pools"]
deprecated: true
---

# Update Agent Profile Pool

`PATCH /agents/v2/agent-profile-pools/{poolId}`

## Request

- Base URL: `https://odyssey.asteroid.ai`
- URL: `https://odyssey.asteroid.ai/agents/v2/agent-profile-pools/{poolId}`
- Auth: API key in header `X-Api-Key`

> **Deprecated.**

Update an existing agent profile pool

## Path parameters

- `poolId` string, uuid, required

## Request body

- AgentsProfileUpdateAgentProfilePoolRequest: Request to update an existing agent profile pool
  - `allowConcurrentUse` boolean: Whether multiple executions can use the same profile concurrently
  - `name` string
  - `selectionStrategy` 'least_recently_used' | 'most_recently_used': Strategy for selecting an available profile from a pool

## Response `200`

The request has succeeded.

- AgentsProfileAgentProfilePool: A pool of agent profiles that can be used for credential rotation
  - `allowConcurrentUse` boolean, required: Whether multiple executions can use the same profile concurrently
  - `createdAt` string, date-time, required
  - `id` string, uuid, required
  - `name` string, required: Name of the agent profile pool (unique within organization)
  - `organizationId` string, uuid, required
  - `selectionStrategy` 'least_recently_used' | 'most_recently_used', required: Strategy for selecting an available profile from a pool
  - `updatedAt` string, date-time, required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `403`: Access is forbidden.
- `404`: The server cannot find the requested resource.
- `500`: Server error

---

[API](https://skmtc.dev/asteroid/apis/agent-service.md) - [All operations](https://skmtc.dev/asteroid/apis/agent-service/llms.txt) - [OpenAPI document](https://skmtc.dev/asteroid/apis/agent-service/revisions/ccc134d1d510?raw)
