Remove Staff business location access

DELETE /staff/v1/businessLocations/{businessLocationId}/unAssignStaff/{staffId}

Path parameters

  • businessLocationId integer(int64) Required

    The unique identifier for the business location.

  • staffId integer(int64) Required

    The unique identifier for the employee.

Responses

  • Staff business location access removed successfully

  • Bad request. Invalid input parameters.

  • Authentication failed.

  • Access Denied.

  • Internal Server Error.

DELETE /staff/v1/businessLocations/{businessLocationId}/unAssignStaff/{staffId}
curl \
 -X DELETE https://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/unAssignStaff/{staffId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"