API reference
deleteEmployeeGroup
Required permission: RestaurantPosWrite
deleteEmployeeGroup(
restaurantId: ID!
employeeGroupId: ID!
): DeletionStatusArguments
| Name | Type | Description |
|---|---|---|
restaurantId |
ID! |
|
employeeGroupId |
ID! |
Returns
Example
mutation DeleteEmployeeGroup($restaurantId: ID!, $employeeGroupId: ID!) {
deleteEmployeeGroup(restaurantId: $restaurantId, employeeGroupId: $employeeGroupId)
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { deleteEmployeeGroup(...) { __typename } }"}'