API operation · export group
PUT
/profile/files/{id}
First published 14 Oct 2026
0.2.0Unchanged since publicationChange a registered file's note
Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsallAnswers200 OK
This operation updates only the stored note. Set note to up to 200 printable ASCII characters or pass an empty string to clear it. The response returns the updated registration in file with the same details as GET /profile/files/{id}. The API returns 400 for an invalid note and 404 if id does not identify a registration.
As a command
Run as root on the serverParameters
idpath ·integerRequirednotestring, up to 200 charactersRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X PUT "$API/profile/files/1" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"note": "added by hand"
}'Response ·
200 OK{
"file": {
"changed_at": "text",
"created_at": "2026-09-09T10:15:00Z",
"group": "text",
"id": 1,
"mode": "text",
"note": "added by hand",
"owner": "text",
"package": {
"name": "alice",
"version": "0.0.1"
},
"path": "public_html/index.php",
"present": true,
"size": 1
}
}Errors
3 errors, each a status and a sentence400Invalid note401Authentication required404Not registeredNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/put-profile-files-id/