/docs/components/symbol-management/folders
Symbol Folders
Folder route contracts and frontend expectations for the Symbol Management module.
Use these routes to manage folder records in the symbol library.
- List: load all folder records.
- Create: add a new folder record.
- Get by ID: load one folder when needed.
- Patch: rename or update folder metadata.
- Delete: remove the folder record.
- Auth header: include `x-api-key` on every folders request. If you need to issue or manage that client key, see API Key Management Overview.
Routes
The create and update routes use a simple payload with the folder name only.
Create Folder Payload
Update Folder Payload
After create, rename, or delete, reload the folder collection so the client stays aligned with backend uniqueness and validation rules.
- Unique names: duplicate folder names should be blocked by the backend.
- Protected reads and writes: send the same `x-api-key` header for list, create, update, and delete calls.
- Refresh after write: do not patch the UI optimistically unless you also handle server rejections cleanly.
- Dependent requests: if a deleted folder ID is still referenced by the client, clear or replace that reference before loading symbols again.
Use small service functions like these from your client application, hooks, or state store.
Shared Types
Get Folders
Create Folder
Update Folder
Delete Folder
