# Delete a role offer

Deletes a role offer. Unlike most deletes this returns 200 with a messages body
rather than an empty 204; messages is null when there was nothing to report.

Deleting a role offer that people are still assigned to has to be acknowledged
first. The initial attempt is refused with a warning saying how many are affected,
and the response names the key to acknowledge; send that key back in override to
go ahead. Not every caller is permitted to, in which case the delete stays refused.

Endpoint: DELETE /api/v2/headcount/roleoffer/{id}
Version: 2.0.0
Security: default

## Path parameters:

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

## Query parameters:

  - `override` (array)
    Warning keys to acknowledge.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `messages` (string | null)

