DELETEing policy locations

Use the following endpoint to DELETE a specific policy location from a specific job:

  • DELETE /job/v1/jobs/{jobId}/locations/{locationId}

The request does not require a body.

When you DELETE a policy location, the associated account location remains.

For example, the following deletes policy location 201 from job pc:25.

DELETE /job/v1/jobs/pc:25/locations/201

<no request body>

Note that you cannot delete a location that is designated as the primary location. If you want to delete a primary location, you must first PATCH the policy and designate some other location as the primary location.