Move a bucket to a different owner
Transfers ownership of a bucket to a team or back to the caller. Requires admin on the bucket and the upl admin team role in each team involved. The bucket's slug, aliases and URLs are unchanged; individual permission grants are preserved, while access-key grants that would cross the new ownership boundary are revoked.
Required scopes: upl:bucket:manage
Authorization
OAuth2 upl:bucket:manageOAuth 2.0 authorization
In: header
Scope: upl:bucket:manage
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
The bucket to transfer.
Where it should end up. Requires ADMIN on the bucket, and — when moving to or out of a team — the upl "admin" team role in that team.
Access-key grants that would cross the new ownership boundary (a personal key holding a now-team-owned bucket, or a team key holding a bucket that left the team) are revoked as part of the move. Set true to acknowledge that; without it the request fails and names the affected keys. validate:skip a bool has no bounds
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketsService/MoveBucket" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"bucket": "map[aliases:[screenshots i.example.com] bucketId:1042 bucketName:Screenshots createdAt:2026-03-14T11:02:45Z destination:BUCKET_DESTINATION_DEFAULT isPrimary:false lifecycleRuleCount:1 managedBy: ownerTeam:urn:xeonr:auth:team:0f6b5f8c-21f4-4b6e-9b4f-3a6a2c7d8e91 ownerTeamSlug:acme portalConfig:map[cdnMode:false] primaryAlias:i.example.com private:false slug:screenshots totalSpaceBytes:10737418240 type:BUCKET_TYPE_UPLOADS_DIRECTORY updatedAt:2026-10-22T09:30:00Z uploadCount:1284 url:https://i.example.com usedSpaceBytes:734003200]"
}