12 endpoints

# Locations & Working Patterns

Office locations and working pattern configurations.

## Locations

GET`/locations`List LocationsGet a paginated list of active company locations/offices.

POST`/locations`Create LocationCreate a new company location.

GET`/locations/{uuid}`Get LocationGet a specific location.

PUT`/locations/{uuid}`Update LocationUpdate a location.

DELETE`/locations/{uuid}`Delete LocationSoft-delete a location. The location must not be the company default, assigned to active employees, or used by active employee templates.

## Working Patterns

GET`/working-patterns`List Working PatternsGet all working pattern templates for the company.

POST`/working-patterns`Create Working PatternCreate a new working pattern template.

GET`/working-patterns/{uuid}`Get Working PatternGet a specific working pattern.

PUT`/working-patterns/{uuid}`Update Working PatternUpdate a working pattern template.

DELETE`/working-patterns/{uuid}`Delete Working PatternSoft-delete a working pattern template.

GET`/employees/{uuid}/working-patterns`Get Employee Working PatternGet the current working pattern assignment for an employee.

POST`/employees/{uuid}/working-patterns`Assign Working Pattern to EmployeeAssign a working pattern to an employee from a given date.

---

**URL:** https://cube-hr.co.uk/docs/locations
