Skip to main content
POST
/
api
/
halls
/
{hall_id}
/
seats
/
delete
Mass removal of seats from the hall
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/halls/{hall_id}/seats/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "seat_ids": [
    101,
    102,
    105
  ]
}
'
{
  "message": "Validation failed",
  "errors": {
    "name": "The name field is required.",
    "price": "The price must be a valid number.",
    "hall_id": "A valid hall_id is required."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

hall_id
integer<int64>
required

Body

application/json
  • Option 1
  • Option 2

Schema for deleting a specific list of seats by their IDs.

seat_ids
integer<int64>[]
required

An array of unique identifiers for the seats to be deleted.

Example:
[101, 102, 105]

Response

Seats successfully removed