Skip to content

Delete a venue

Request

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.

Security
default
Path
location_idintegerrequired

The ID of the location.

idintegerrequired

The ID of the venue.

Headers
Rosterfy-Platformstring
curl -i -X DELETE \
  'https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/headcount/location/{location_id}/venue/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Rosterfy-Platform: admin'

Responses

Bodyapplication/json
messagesstring or null
Response
{ "messages": null }