---
title: "Deactivate specified agent"
method: POST
path: "/instanceAdmin/agents/{agentid}/deactivate"
tags: ["instance admin"]
---

# Deactivate specified agent

`POST /instanceAdmin/agents/{agentid}/deactivate`

This operation is only usable in Private Instances and requires the instance admin role permission. See the
[Get API Tokens](https://developer.data.world/docs/api-getting-started#/step-2-get-the-tokens) documentation
for more information.

## Path parameters

- `agentid` string, required

## Response `200`

default response

- SuccessMessageDto
  - `message` string

---

[API](https://skmtc.dev/data/apis/data-world-public-api.md) · [All operations](https://skmtc.dev/data/apis/data-world-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/data/data-world-public-api/revisions/0a0cb1f94dad/schema)
