Skip to content

Delete a location type

Request

Removes the category. The record is retained internally so past reporting is not lost, but the type can no longer be read or edited and no endpoint restores it.

Locations filed under it are not deleted and keep pointing at the removed type, so reassign them first if they should stay categorised.

Security
default
Path
idintegerrequired

The ID of the location type.

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

Responses

No content, successful deletion

Bodyapplication/json
object or null
Response
{}