API reference
abortVideoUpload
Cancel an incomplete upload. Repeated cancellation is harmless; completed videos are not deleted. Required permission: RestaurantRead
abortVideoUpload(
restaurantId: ID!
token: String!
): VoidArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
token |
String! |
Returns
Example
mutation AbortVideoUpload($restaurantId: ID!, $token: String!) {
abortVideoUpload(restaurantId: $restaurantId, token: $token)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { abortVideoUpload(...) { __typename } }"}'