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

# Clean Job

> Clean job resources.

:param job_id: id of the job to clean



## OpenAPI

````yaml docs/avxcelerate/resource-manager-rest-api/2025-r2/explore.aws-pre-prod-api-resources-v1.json POST /jobs/{job_id}/clean
openapi: 3.1.0
info:
  title: AVxcelerate Resource Manager
  summary: ''
  contact:
    name: Ansys AVxcelerate Autonomy
    url: https://developer.ansys.com/docs/avxcelerate
    email: TeamTyson@ansys.com
  version: 0.1.0
servers:
  - url: https://{host}/api/resources/v1
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /jobs/{job_id}/clean:
    post:
      tags:
        - jobs
      summary: Clean Job
      description: |-
        Clean job resources.

        :param job_id: id of the job to clean
      operationId: jobs-clean_job
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: integer
            title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````