PeopleForce
Core

Early access

Company API v4 is the next-generation API and is under active development. Endpoints and fields may still change.

Delete a location

Delete a location

DELETE
/api/v4/locations/{id}

Delete a location

Path Parameters

id*integer
Formatint32

Response Body

application/json

curl -X DELETE "https://example.com/api/v4/locations/0"
{  "id": 0,  "name": "string",  "country_code": "string",  "address": "string",  "time_zone": "string",  "holiday_policy_id": 0,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}