Merkl Developer Portal logo
post

/v4/campaign-lists/{owner}/{name}/remove

Remove the provided campaign IDs from a list. If the list becomes empty, it is deleted. Requires the owner's JWT or API key.

Path parameters

ownerstring
required

List owner address (validated and checksum-normalized)

namestring
required

List name (case-insensitive)

Request body

object
campaignIdsstring | object[]
required
Campaign IDs to include in the list. Each entry is either an internal hash (`Campaign.id`) or a `{ distributionChain, campaignId }` composite.
distributionChainnumberDistribution chain ID
campaignIdstringOnchain campaign ID

Responses

200
Response for status 200
Schema
object
ownerstring
required
namestring
required
campaignIdsstring[]
required
sizenumber
required
Example
{
  "owner": "string",
  "name": "string",
  "campaignIds": [
    "string"
  ],
  "size": 0
}