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

# Reset bundle results, drafts, approvals, stage assignees, and optionally detach attachments

> Resets all results, drafts, approvals, stage assignees, and stage/classification for the specified policy versions within a bundle. Optionally detach specified attachments. Accepts reason and relatedFindingId for audit purposes.



## OpenAPI

````yaml /api-specs/cloud/governance-api.json post /rpc/reset-bundle
openapi: 3.0.3
info:
  description: Service responsible for managing Domino Governance feature
  title: Domino Governance API
  contact:
    name: Domino Data Lab
    url: https://tickets.dominodatalab.com/hc/en-us
    email: support@dominodatalab.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: https://mycluster.domino.tech/api/governance/v1
    description: >-
      Replace 'mycluster.domino.tech' with your Domino cluster hostname. For
      Domino Cloud customers, that is `your-subdomain`.domino.tech (e.g.,
      acme.domino.tech). For self-hosted deployments, it is the hostname you
      reach the Domino UI at.
security: []
paths:
  /rpc/reset-bundle:
    post:
      tags:
        - rpc
      summary: >-
        Reset bundle results, drafts, approvals, stage assignees, and optionally
        detach attachments
      description: >-
        Resets all results, drafts, approvals, stage assignees, and
        stage/classification for the specified policy versions within a bundle.
        Optionally detach specified attachments. Accepts reason and
        relatedFindingId for audit purposes.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/server.ResetBundleRequest'
        description: Request for resetting bundle and its policies
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/guardrails.ResetBundleCounts'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/server.HTTPError'
components:
  schemas:
    server.ResetBundleRequest:
      type: object
      required:
        - bundleId
        - policyVersionIds
      properties:
        attachmentIds:
          type: array
          items:
            type: string
        bundleId:
          type: string
        policyVersionIds:
          type: array
          items:
            type: string
        reason:
          type: string
        relatedFindingId:
          type: string
    guardrails.ResetBundleCounts:
      type: object
      properties:
        approvalsReset:
          type: integer
        assigneesReset:
          type: integer
        attachmentsReset:
          type: integer
        draftsReset:
          type: integer
        resultsReset:
          type: integer
    server.HTTPError:
      type: object
      properties:
        code:
          description: >-
            Code is a stable machine-readable error identifier; absent on most
            errors.
          allOf:
            - $ref: '#/components/schemas/guardrails.ErrorCode'
        message:
          type: string
    guardrails.ErrorCode:
      type: string
      enum:
        - BUNDLE_REQUIRES_POLICY
      x-enum-varnames:
        - CodeBundleRequiresPolicy

````

## Related topics

- [Snapshot a bundle into an evidence-restricted copy and revoke the source's gated approvals](/api-reference/rpc/snapshot-a-bundle-into-an-evidence-restricted-copy-and-revoke-the-sources-gated-approvals.md)
- [Review and approve bundles](/cloud/platform-capabilities/features/governance/work-with-bundles/review-bundles.md)
- [Submit a result and get computed policy](/api-reference/rpc/submit-a-result-and-get-computed-policy.md)
- [Copy the transferable results from one bundle to another](/api-reference/rpc/copy-the-transferable-results-from-one-bundle-to-another.md)
