@xfloor-memory-sdk
  1. Floor Management
@xfloor-memory-sdk
  • Get Started
    • Overview
    • Quick Start
    • Authentication and Identification
    • Core Concepts (5-Minute Read)
    • What to Use First (API Map)
  • SDK
    • Overview
    • SDK Installation & Setup
    • Python SDK
    • JavaScript SDK
    • Typescript SDK
    • Java SDK
    • FAQ & Troubleshooting
    • Copy-Paste Debug Checklists
  • Core FloorMemory
    • Query (Primary API)
      POST
    • Create Event (Post Content)
      POST
    • Recent Events
      GET
    • Basic information of a floor
      GET
  • Floor Management
    • Edit floor
      POST
    • Make floor Private
      POST
    • Make floor public
      POST
    • Rename floor
      POST
  • Registration
    • Sign Up
      POST
    • Sign In with email ID
      POST
    • Sign In with Mobile number
      POST
    • Validation
      POST
    • Change Password
      POST
    • Reset Password
      POST
    • Change email ID
      POST
    • Change Mobile number
      POST
    • Send Validation code
      POST
    • External User Registration
      POST
  • SDKs
  • Schemas
    • PostAdd
    • QueryResponse
    • Media
    • UserDetails
    • SignUpResponse
    • BlockDetails
    • FloorInfo
    • Threads
    • EventResponse
    • 400ErrorCode
    • Remaining
  1. Floor Management

Edit floor

POST
/api/memory/edit/floor/{floor_id}
This API updates an existing floor’s profile metadata using multipart form data.
A floor can be edited only by its owner.
If the authenticated user is not the owner of the floor, the request will be rejected, even if the user is a member or follower of the floor.
The API allows the floor owner to update:
Floor title
Floor details/description
Floor logo/avatar image
After a successful update, the API returns the latest floor object, including the updated avatar and the current list of blocks associated with the floor.

Authorization Rules (Critical)#

The caller must be authenticated
The caller must be the owner of the floor
Members, followers, or pod consumers cannot edit the floor
Ownership is validated internally using the authenticated user context
Ownership is mandatory. There are no partial permissions for this API.

Content-Type#

multipart/form-data

Request Body (Multipart Form Data)#

Form Fields#

Field NameTypeRequiredDescription
floor_idStringOptional*Public / human-readable floor identifier
titleStringOptionalNew floor title
detailsStringOptionalNew floor description
logoFileOptionalNew floor logo image (PNG/JPG/WebP)
At least one floor identifier (fid or floor_id) must be provided.
Best practice: Use fid as the primary identifier.

Update Rules#

At least one of title, details, or logo must be present
Missing update fields result in a validation error
If logo is provided, the previous logo is replaced

Response Format#

application/json

Sample Success Response#

{
  "floor_id": "my_floor",
  "title": "daughter ouch upon yummy clamor",
  "details": "nostrud occaecat incididunt dolor adipisicing",
  "fid": "86",
  "blocks": [
    {
      "bid": "83",
      "type": "pariatur",
      "title": "wherever demobilise acidly refute"
    }
  ],
  "avatar": {
    "url": "https://legal-availability.name/",
    "id": "98"
  }
}

Error Responses (Authorization Focus)#

Not Floor Owner#

{
  "status": "ERROR",
  "message": "Only the floor owner can edit this floor"
}

Floor Not Found#

{
  "status": "ERROR",
  "message": "Floor not found"
}

No Update Fields#

{
  "status": "ERROR",
  "message": "No update fields provided"
}

Notes#

This API is owner-only by design
Pods and developer tools must operate using owner credentials
Blocks are returned for convenience but are not editable through this API

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params multipart/form-dataRequired

Responses

🟢200Success
application/json
Body

🟠400BadRequest
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://appfloor.in/api/memory/edit/floor/' \
--header 'Authorization: Bearer <token>' \
--form 'user_id=""' \
--form 'app_id=""' \
--form 'logo_file=@""' \
--form 'title=""' \
--form 'details=""'
Response Response Example
200 - Example 1
{
    "floor_id": "string",
    "title": "string",
    "details": "string",
    "floor_uid": "string",
    "blocks": [
        {
            "block_id": "string",
            "type": "string",
            "title": "string"
        }
    ],
    "avatar": {
        "url": "string",
        "type": "string"
    },
    "is_owner": "string",
    "floor_type": "string",
    "app_id": "string"
}
Modified at 2026-02-13 08:28:47
Previous
Basic information of a floor
Next
Make floor Private
Built with