Overview
Moves a record to a new location — use this to rename a record or change its type. Connections in other records that reference the moved record are updated automatically.
Body Parameters
Current relative path to the record (e.g., person/Alice.md).
New relative path for the record (e.g., person/Alice Chen.md).
Response
Confirmation message. If the output is structured JSON, it is returned directly instead.
Request Example
curl -X POST https://alfred.black/api/v1/vault/move \
-H "Authorization: Bearer alf_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"from": "person/Alice.md",
"to": "person/Alice Chen.md"
}'
Response Example
200 OK
400 Bad Request
500 Internal Server Error
{
"raw" : "Moved person/Alice.md to person/Alice Chen.md"
}