# Delete a venue

Removes the venue. The record is retained internally so past reporting is not lost,
but the venue can no longer be read or edited and no endpoint restores it.
**A venue with roles still recruiting at it cannot be deleted** - remove or reassign
those roles first. The same applies to the account's built-in default venue, which is
not removable at all.
Returns `200` with a `messages` field rather than an empty `204`. `messages` carries
anything the platform wants to tell you about the deletion and is `null` when there is
nothing to say.

Endpoint: DELETE /api/v2/headcount/location/{location_id}/venue/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `location_id` (integer, required)
    The ID of the location.

  - `id` (integer, required)
    The ID of the venue.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `messages` (string | null)

