API reference

deletePosTerminal

Required permission: RestaurantReportWrite

graphql
deletePosTerminal(
  restaurantId: ID!
  posTerminalId: ID!
): Void

Arguments

Name Type Description
restaurantId ID!
posTerminalId ID!

Returns

Void

Example

graphql
mutation DeletePosTerminal($restaurantId: ID!, $posTerminalId: ID!) {
  deletePosTerminal(restaurantId: $restaurantId, posTerminalId: $posTerminalId)
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { deletePosTerminal(...) { __typename } }"}'