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

# Remove app from folder

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Takes an app out of a folder. The app stays in the workspace. Removing an app that isn't in the folder succeeds and changes nothing.

You can change your own personal folders. Workspace folders need the editor role or higher, and any editor can change any workspace folder. A folder that doesn't exist, or another user's personal folder, returns a `404` with the code `folder_not_found`. A personal access token limited to selected apps can only use the apps it lists. Any other app ID returns a `404`.

This is limited to 600 requests per minute. A signed-in session has its own limit, and every personal access token for the workspace shares one, and each workspace API key has its own. Some workspaces have a different limit.

<Note>Call this with a personal access token sent as a Bearer token, a workspace API key, or from a signed-in session. A token or key works on its own workspace's folders, and a workspace API key acts as the workspace owner. Read-only tokens and keys are refused.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json delete /api/app-folders/{folder_id}/items/{app_id}
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/app-folders/{folder_id}/items/{app_id}:
    delete:
      summary: Remove app from folder
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Takes an app out of a folder. The app stays in the workspace. Removing
        an app that isn't in the folder succeeds and changes nothing.


        You can change your own personal folders. Workspace folders need the
        editor role or higher, and any editor can change any workspace folder. A
        folder that doesn't exist, or another user's personal folder, returns a
        `404` with the code `folder_not_found`. A personal access token limited
        to selected apps can only use the apps it lists. Any other app ID
        returns a `404`.


        This is limited to 600 requests per minute. A signed-in session has its
        own limit, and every personal access token for the workspace shares one,
        and each workspace API key has its own. Some workspaces have a different
        limit.


        <Note>Call this with a personal access token sent as a Bearer token, a
        workspace API key, or from a signed-in session. A token or key works on
        its own workspace's folders, and a workspace API key acts as the
        workspace owner. Read-only tokens and keys are refused.</Note>
      operationId: api_remove_item_api_app_folders__folder_id__items__app_id__delete
      parameters:
        - name: folder_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              ID of the folder to remove the app from. Get it from `id` in [List
              app folders](/api-reference/list-app-folders).
            title: Folder Id
          description: >-
            ID of the folder to remove the app from. Get it from `id` in [List
            app folders](/api-reference/list-app-folders).
          example: 68c1f2a9b4e7d3005a2c9e11
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app to take out of the folder.
            title: App Id
          description: ID of the app to take out of the folder.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '200':
          description: The app isn't in the folder anymore.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveFolderAppResult'
        '400':
          description: '`app_id` isn''t a valid app ID.'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            The folder is a workspace folder and you're a viewer or guest, or
            your token is read-only.
        '404':
          description: >-
            `folder_not_found`: the folder doesn't exist in the workspace, or
            it's another user's personal folder. Also returned when your
            personal access token is limited to selected apps and doesn't list
            the app.
        '429':
          description: Rate limit exceeded.
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
        - WorkspaceApiKeyAuth:
            - full_access
        - WorkspaceApiKeyBearerAuth:
            - full_access
components:
  schemas:
    RemoveFolderAppResult:
      properties:
        unlinked:
          type: boolean
          title: Unlinked
          description: Always `true`, including when the app wasn't in the folder.
          example: true
        folder_id:
          type: string
          title: Folder Id
          description: ID of the folder.
          example: 68c1f2a9b4e7d3005a2c9e11
        app_id:
          type: string
          title: App Id
          description: ID of the app, in lowercase.
          example: 6820f3a4e7b91d003c45a1f2
      type: object
      required:
        - unlinked
        - folder_id
        - app_id
      title: RemoveFolderAppResult
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.
    WorkspaceApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >-
        Workspace API key, sent as `api_key: <key>`. Each operation that accepts
        one lists what the key needs: a permission, `read_only` or
        `full_access`, like a personal access token, or a scope. A key without
        the scope gets 403 `workspace_api_key_scope_required`.
    WorkspaceApiKeyBearerAuth:
      type: http
      scheme: bearer
      description: >-
        Workspace API key, sent as `Authorization: Bearer <key>`. Accepted
        wherever `api_key` is, with the same permission.

````

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