Remove catalog
Use /catalogs/remove
to remove an existing catalog.
Remove a catalog.
Authorizations
Header parameters
X-Batch-ProjectstringRequiredExample:
The unique project key, identifying a project on the Batch platform
project_0664hxvwffvbpn278gxdyhsadddqgna6
Body
namestringRequiredExample:
Identifier of the catalog to remove.
products
Responses
202
Request accepted for asynchronous processing
application/json
Responseobject
401
The Rest API Key is not valid for this project
application/json
404
Not found
application/json
500
Unexpected error
application/json
503
Batch's services are under maintenance. Please try again later
application/json
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?