# Delete a job title

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.

Endpoint: DELETE /api/v2/headcount/functionalarea/{functionalarea_id}/jobtitle/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `functionalarea_id` (integer, required)
    The ID of the functional area.

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

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `messages` (string | null)

