# Delete Code Record By Id DELETE https://fai.buildwithfern.com/code/{domain}/delete Content-Type: application/json Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/code/delete-code-record-by-id ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Delete Code Record By Id version: endpoint_code.delete_code_record_by_id paths: /code/{domain}/delete: delete: operationId: delete-code-record-by-id summary: Delete Code Record By Id tags: - - subpackage_code parameters: - name: domain in: path required: true schema: type: string - name: Authorization in: header description: >- Bearer authentication of the form `Bearer `, where token is your auth token. required: true schema: type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DeleteCodeRecordResponse' '422': description: Validation Error content: {} requestBody: content: application/json: schema: $ref: '#/components/schemas/DeleteCodeRecordRequest' components: schemas: DeleteCodeRecordRequest: type: object properties: code_id: type: string description: The unique identifier of the code to delete required: - code_id DeleteCodeRecordResponse: type: object properties: success: type: boolean description: Whether the code was successfully deleted required: - success ```