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

# Reset Preview Managed Resource Branch Route

> Reset one managed resource branch backing a preview.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json post /v1/apps/{app_id}/previews/{slug}/resources/{resource_key}/reset
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/apps/{app_id}/previews/{slug}/resources/{resource_key}/reset:
    post:
      tags:
        - previews
      summary: Reset Preview Managed Resource Branch Route
      description: Reset one managed resource branch backing a preview.
      operationId: previews_reset_preview_managed_resource_branch_route
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - name: slug
          in: path
          required: true
          schema:
            type: string
            title: Slug
        - name: resource_key
          in: path
          required: true
          schema:
            type: string
            title: Resource Key
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreviewManagedResourceBranchResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    PreviewManagedResourceBranchResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        managed_service_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Managed Service Id
        resource_type:
          type: string
          title: Resource Type
        name:
          type: string
          title: Name
        resource_key:
          type: string
          title: Resource Key
        source_env:
          type: string
          title: Source Env
        preview_slug:
          type: string
          title: Preview Slug
        resource_status:
          type: string
          title: Resource Status
        hydration_mode:
          type: string
          title: Hydration Mode
        schema_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Schema Name
        role_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Role Name
        base_schema_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Base Schema Name
        base_role_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Base Role Name
        database_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Database Id
        bucket_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Bucket Name
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        reset_eligible:
          type: boolean
          title: Reset Eligible
        reset_blocked_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reset Blocked Reason
        dev_prod_untouched:
          type: boolean
          title: Dev Prod Untouched
          default: true
      type: object
      required:
        - id
        - resource_type
        - name
        - resource_key
        - source_env
        - preview_slug
        - resource_status
        - hydration_mode
        - reset_eligible
      title: PreviewManagedResourceBranchResponse
      description: A preview-owned managed resource branch.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.