---
title: "Activate/Deactivate Plan"
method: PUT
path: "/protocol/plans/{planId}/list/{activate}"
tags: ["Protocol - Plans"]
---

# Activate/Deactivate Plan

`PUT /protocol/plans/{planId}/list/{activate}`

## Request

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

Lists (`activate=true`) or unlists (`activate=false`) a plan. This is a flag stored by Nevermined, not an on-chain change. An unlisted plan is hidden from discovery and can no longer be purchased. Checkout, crypto order and the card-delegation x402 settle are refused with the error `BCK.PROTOCOL.0062`; the other x402 refusals (every verify, and the erc4337 settle of an auto-order or pay-as-you-go call) answer `isValid: false` / `success: false` with that error's message as the reason, without a `code` field. Subscribers keep spending the credits they already hold while their balance covers a call.

## Path parameters

- `planId` integer, required
- `activate` boolean, required

## Response `200`

Status updated

- SuccessResponse
  - `success` boolean

## Other responses

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