---
title: "Update Agent"
method: PUT
path: "/protocol/agents/{agentId}"
tags: ["Protocol - Agents"]
---

# Update Agent

`PUT /protocol/agents/{agentId}`

## Request

- Base URL: `https://api.sandbox.nevermined.app/api/v1`
- URL: `https://api.sandbox.nevermined.app/api/v1/protocol/agents/{agentId}`
- Auth: HTTP bearer

Modifies agent configuration and metadata.

## Path parameters

- `agentId` string, required

## Request body

- UpdateAgentRequest
  - `name` string
  - `description` string
  - `tags` string[]
  - `endpoints` object[]

## Response `200`

Agent updated

- SuccessResponse
  - `success` boolean

## Other responses

- `401`: Unauthorized
- `404`: Agent not found

---

[API](https://skmtc.dev/nevermined/apis/nevermined-api.md) · [All operations](https://skmtc.dev/nevermined/apis/nevermined-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevermined/apis/nevermined-api/revisions/cabbe618c80b?raw)
