Update upload alias
Updates alias settings including password, expiry, use limits, and allowed users.
Required scopes: upl:bucket:manage
Authorization
OAuth2 upl:bucket:manageAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:bucket:manage
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketRef?|&|
aliasId?string
Numeric alias ID
Length
1 <= length <= 64password?|
New password (optional, set to empty string to remove). bcrypt caps passwords at 72 bytes.
Length
length <= 72expiresAt?|
New expiry (optional)
clearExpiresAt?|
Whether to clear the expiry validate:skip a bool has no bounds
maxUses?|
New max uses (optional)
Format
int32Range
0 <= valueclearMaxUses?|
Whether to clear max uses (unlimited) validate:skip a bool has no bounds
allowedUserIds?array<>
New allowed user IDs (optional, empty to clear restrictions)
Items
items <= 1000updateAllowedUsers?|
Whether to update allowed_user_ids validate:skip a bool has no bounds
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.UploadAliasService/UpdateUploadAlias" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"alias": "map[aliasId:317 allowedUserIds:[42 57] createdAt:2026-10-22T09:30:00Z expiresAt:2026-12-31T23:59:59Z externalPath:/share hasPassword:true maxUses:250 path:/share slug:k7Qm2xPz uploadId:9b7e4d2a-3c5f-4e1a-8d2b-6f0e1a7c3b95 url:https://i.example.com/share/k7Qm2xPz useCount:12]"
}