Skip to main content
POST
Remove Batch Records

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required

Cookies

stytch_session
string | null

Body

application/json

Body for POST /batches/{key}/remove-records.

product_keys is what the batch detail UI sends — selection is at the product/style level, never per-variant. record_keys is accepted for callers that already know exact record keys. At least one must be non-empty.

product_keys
string[] | null
record_keys
string[] | null

Response

Successful Response