Skip to content

Delete a job title

Request

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

A role that is still recruiting cannot be deleted - close or reassign its recruitment first.

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
functionalarea_idintegerrequired

The ID of the functional area.

idintegerrequired

The ID of the job title.

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

Responses

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