---
title: "Remove Plan from Agent"
method: DELETE
path: "/protocol/agents/{agentId}/plan/{planId}"
tags: ["Protocol - Agents"]
---

# Remove Plan from Agent

`DELETE /protocol/agents/{agentId}/plan/{planId}`

## Request

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

Disassociates a payment plan from an agent.

## Path parameters

- `agentId` string, required
- `planId` integer, required

## Response `200`

Plan removed from agent

- SuccessResponse
  - `success` boolean

## Other responses

- `401`: Unauthorized
- `404`: Agent or plan 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)
