Skip to main content
POST
/
client
/
batch
/
{batchNumber}
/
delete
Delete a batch
curl --request POST \
  --url https://api.ship.uniuni.com/prod/client/batch/{batchNumber}/delete \
  --header 'Authorization: Bearer <token>'
{
"message": "Batch deleted successfully",
"code": 0,
"data": null
}
Only batches that have been received can be deleted.

Authorizations

Authorization
string
header
required

API access token generated from the UniUni Platform dashboard.

Path Parameters

batchNumber
string
required

The unique batch number (e.g. URB0714000000000687).

Response

200 - application/json

Batch deleted or error

message
string
required

Additional information about the request status.

code
integer
required

Status code. 0 indicates success.

data
any

Response payload. Returns null if code is not 0.