| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

Updates a Work Location's name or work_site_id.

## Returns   
Returns a boolean indicating success status and company location objects.

| attribute | type | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | object | updated Work Location data |
| errors | array | Contains list of error objects which consists of:<br>`message`: Error message<br>`code`: Error code as described in [Error codes](https://docs.zeal.com/reference/error-codes) |

companyID

string

required

The ID of an existing Company Object

workLocationID

string

required

The ID of an existing Work Location Object

name

string

A name for the new Work Location

work_site_id

string

Optional Custom Work Site ID for your own reporting purposes

# ``200      200

# ``400      400

```shell
xxxxxxxxxx

curl --request PATCH \
 \
     --url https://api.zeal.com/workLocations \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

application/json

``200 - Result``400 - Result
