---
title: "Build unpublish transaction data for a drop"
method: POST
path: "/api/v2/drops/{slug}/unpublish"
tags: ["Drops Endpoints"]
---

# Build unpublish transaction data for a drop

`POST /api/v2/drops/{slug}/unpublish`

## Request

- Base URL: `https://api.opensea.io`
- URL: `https://api.opensea.io/api/v2/drops/{slug}/unpublish`
- Auth: API key in header `x-api-key` and OpenID Connect (`https://auth.opensea.io/.well-known/openid-configuration`, scopes: `write:drops`)
- TypeScript: <https://skmtc.dev/opensea/apis/opensea-api/docs/api/v2/drops/:slug/unpublish/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns a ready-to-sign transaction that closes a live ERC-721 SeaDrop V1 drop by replacing its stages with one that has already ended. Only the collection owner can call this endpoint, and the transaction must be sent from `from`.

This saves that ended stage as the drop's draft before returning, replacing any edits saved with POST /api/v2/drops/{slug}. If the transaction is never sent, save new edits before publishing again.

## Path parameters

- `slug` string, required

## Response `200`

Ready-to-sign unpublish transaction

- DropTransactionResponse: Ready-to-sign drop transaction
  - `chain` string, required: Chain identifier
  - `data` string, required: Encoded transaction data (hex)
  - `from` string, required: Address the transaction must be sent from: the contract's onchain owner. Sent from any other address it reverts.
  - `to` string, required: Transaction target contract address
  - `value` string, required: Native currency to send with the transaction, in wei, as a decimal string (not hex)

## Other responses

- `400`: For error reasons, review the response data.
- `401`: Invalid or missing API key
- `403`: Wallet token lacks permission for this request
- `404`: Resource not found
- `409`: Conflict
- `500`: Internal server error. Please open a support ticket so OpenSea can investigate.

## Changes

- **2026-11-03** `2c7935d84f90`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opensea/apis/opensea-api/changes/api/v2/drops/:slug/unpublish/post.md)

---

[API](https://skmtc.dev/opensea/apis/opensea-api.md) - [All operations](https://skmtc.dev/opensea/apis/opensea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opensea/apis/opensea-api/revisions/2c7935d84f90?raw)
