> ## Documentation Index
> Fetch the complete documentation index at: https://docs.instaview.sk/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Job

> Soft-deletes a job that belongs to the API key's company.

Permanently deletes a job posting. **This action cannot be undone.**

## Overview

The delete job endpoint permanently removes a job posting from your account. This will also clear all candidate assignments specifically related to this job.

## Use Cases

* **Remove Obsolete Jobs**: Clean up jobs that are no longer relevant
* **Archive Old Postings**: Permanently remove outdated job postings
* **Compliance**: Delete jobs for data retention compliance
* **Organization**: Maintain a clean job library

## Permanent Deletion Behavior

<Info>
  Deleting a job permanently removes the posting from your account. This action is irreversible and will also clear any existing candidate links to this specific job.
</Info>

## Impact on Existing Data

<Warning>
  Deleting a job does not affect existing candidates or interviews. Those candidates and interviews retain their association with the job for historical accuracy. However, you cannot create new candidates for a deleted job.
</Warning>

## Company Isolation

You can only delete jobs that belong to your API key's company. Attempting to delete a job from another company will result in a `403 Forbidden` error.

## Error Scenarios

* **404 Not Found**: Job doesn't exist or has already been deleted
* **403 Forbidden**: Job belongs to a different company

## Related Resources

<CardGroup cols={2}>
  <Card title="Jobs Resource Guide" icon="briefcase" href="/guides/resources/jobs">
    Learn about job management
  </Card>

  <Card title="List Jobs" icon="list" href="/api-reference/jobs/list-jobs">
    View all active jobs
  </Card>

  <Card title="Create Job" icon="plus" href="/api-reference/jobs/create-job">
    Create new job postings
  </Card>
</CardGroup>


## OpenAPI

````yaml DELETE /jobs/{id}
openapi: 3.0.0
info:
  title: InstaView API
  description: |-
    InstaView API Documentation

    ## Authentication

    All endpoints require API key authentication using Bearer token:
    ```
    Authorization: Bearer sk_your_api_key_here
    ```

    ## API Key Management

    The API Key module provides comprehensive key management for:
    - **Direct Client Keys**: Company-scoped keys for your applications
    - **ATS Partner Keys**: Resource-scoped keys for ATS integrations

    ### Key Features
    - HMAC-SHA256 hashing for API key storage
    - Configurable rate limiting
    - Comprehensive audit logging
    - Company-level isolation
    - Resource scoping for ATS partners
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.instaview.sk
    description: Production API Gateway
security: []
tags: []
paths:
  /jobs/{id}:
    delete:
      tags:
        - Jobs
      summary: Delete job
      description: Soft-deletes a job that belongs to the API key's company.
      operationId: PublicJobsController_deleteJob_v1
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
            format: uuid
        - name: companyId
          required: false
          in: query
          description: >-
            Required for ATS API keys to specify which company to access.
            Ignored for standard company API keys.
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: boolean
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: API key for authentication using Bearer scheme

````