Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Batch ID
Response
Successful
The response is of type object
.
curl --request PATCH \
--url https://api.passentry.com/api/v1/batches/{id}/cancel \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "8ecfc493-da04-493b-8b98-bf9d5cc29114",
"type": "walletMessaging",
"attributes": {
"name": "Summer Promotion",
"status": "cancelled",
"tag": null,
"content": "Hello, World!",
"scheduledAt": "2030-03-31T13:16:26Z"
}
}
}
Cancel a Batch
curl --request PATCH \
--url https://api.passentry.com/api/v1/batches/{id}/cancel \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "8ecfc493-da04-493b-8b98-bf9d5cc29114",
"type": "walletMessaging",
"attributes": {
"name": "Summer Promotion",
"status": "cancelled",
"tag": null,
"content": "Hello, World!",
"scheduledAt": "2030-03-31T13:16:26Z"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Batch ID
Successful
The response is of type object
.
Was this page helpful?