# Create **POST /v1/locations/** Create Location ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Body: application/json (object) Request for creating/updating a new location - **name** (string) Name ## Responses ### 200 successful operation #### Body: application/json (object) - **id** (string) id - **companyId** (string) Company ID - **name** (string) Name - **archivedAt** (string(date-time) | null) Archived at date - **createdAt** (string(date-time)) Created at date - **updatedAt** (string(date-time)) Updated at date ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 422 Validation error #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception [Powered by Bump.sh](https://bump.sh)