Remove catalog

Use /catalogs/remove to remove an existing catalog.

Remove

post

Remove a catalog.

Authorizations
Header parameters
X-Batch-ProjectstringRequired

The unique project key, identifying a project on the Batch platform

Example: project_0664hxvwffvbpn278gxdyhsadddqgna6
Body
namestringRequired

Identifier of the catalog to remove.

Example: products
Responses
202
Request accepted for asynchronous processing
application/json
Responseobject
post
POST /2.6/catalogs/remove HTTP/1.1
Host: api.batch.com
Authorization: Bearer YOUR_SECRET_TOKEN
X-Batch-Project: text
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "name": "products"
}
{}

Request structure

Route

The Catalog API exposes a POST endpoint that allows to remove an existing catalog:

/catalogs/remove

Headers and authentication

See Overview → Using Project APIs.

Post data

The body of the request must contain a valid JSON payload describing the operations to be executed on the audience.

Here is a how a complete JSON payload looks like:

{
    "name": "MOVIES"
}

Responses

Success

If the call to the API endpoint is successful you will receive an HTTP 202 confirmation.

Failure

If the POST data does not meet the API requirements you will receive an actionable error message. Contact us at support@batch.com if you need further support.

Last updated

Was this helpful?