> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# unpublishPaymentPlan

> Unpublish a Payment Plan, hiding it from members. Existing buyers keep their access.

**Required scope:** `host:write:network_plans`



**mutation** `unpublishPaymentPlan(input: UnpublishPaymentPlanInput!): UnpublishPaymentPlanPayload`

## Arguments

**`input`**: `UnpublishPaymentPlanInput!` (required)

Parameters for UnpublishPaymentPlan

## Returns

`UnpublishPaymentPlanPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`paymentPlan`**: `PaymentPlan`

## Examples

```graphql Mutation
mutation UnpublishPaymentPlan($input: UnpublishPaymentPlanInput!) {
  unpublishPaymentPlan(input: $input) {
    clientMutationId
    errors
    paymentPlan {
      approvalEnabled
      benefits
      createdAt
      description
      external
      id
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "unpublishPaymentPlan": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "paymentPlan": {
        "approvalEnabled": true,
        "benefits": [
          "string"
        ],
        "createdAt": "value",
        "description": "string",
        "external": true,
        "id": "id"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.