Skip to main content

When to use this

Use delete only when you need to permanently remove a position.
Deleting is permanent. Make sure no teams still rely on this position and that you’ve exported any needed data. Prefer Archiving a position to stop new invites while keeping past interviews.

GraphQL Request

Please make sure to replace the position ID. Reminder: Deleting a position deletes all data related to it, including all interviews. Don’t forget to update the Hireflix API Key in the headers.

Explanation

  • id – the position you want to remove.
  • delete – returns a boolean-like result (implementation dependent).
Treat any GraphQL errors as a failed delete.

Example Response

{
  "data": {
    "Position": { "delete": true }
  }
}

Learn next?

Let’s learn how to create and use webhooks.