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

# Reassign Bookmark

> Reassign a bookmark to a new folder



## OpenAPI

````yaml PATCH /bookmark
openapi: 3.0.3
info:
  title: Bookmark API
  version: 1.0.0
  description: API for managing bookmarks and bookmark folders.
servers:
  - url: https://our-secret-api-url.com
security: []
paths:
  /bookmark:
    patch:
      description: Reassign a bookmark to a new folder
      parameters:
        - $ref: '#/components/parameters/X-API-KEY'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                postId:
                  type: string
                  example: '123'
                newFolderId:
                  type: number
                  example: 2
              required:
                - postId
                - newFolderId
      responses:
        '200':
          description: Bookmark reassigned successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
        '500':
          description: Failed to reassign bookmark
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      security:
        - bearerAuth: []
components:
  parameters:
    X-API-KEY:
      name: X-API-KEY
      description: API key required for authentication
      in: header
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````