---
title: "Activate/Deactivate Agent"
method: PUT
path: "/protocol/agents/{agentId}/list/{activate}"
tags: ["Protocol - Agents"]
---

# Activate/Deactivate Agent

`PUT /protocol/agents/{agentId}/list/{activate}`

## Request

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

Controls the agent's public listing status.

## Path parameters

- `agentId` string, required
- `activate` boolean, required

## Response `200`

Status 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)
