PATCH
/v1/buckets/{bucketId}Update bucketUpdates the display name, logical id, or branch of the bucket with the given ID. The display name is a label only: the provider bucket name, the objects, and the access keys do not change. logicalId cannot be combined with branchId or branchGitName in one request; move the bucket first, then set its logicalId.
Parameters
bucketIdstringpathrequiredRequest body
application/json
object
branchGitNamestringGit name of the branch to move the bucket to; the branch is created when it does not exist. Mutually exclusive with branchId.
branchIdstringID of the branch to move the bucket to. Mutually exclusive with branchGitName.
displayNamestringNew display name for the bucket. A label only: the provider bucket name does not change.
logicalIdstringDeclared identity of the resource, unique within its branch. Set by the tool that declares the resource.
{
"branchGitName": "string",
"branchId": "string",
"displayName": "string",
"logicalId": "string"
}Responses
object
dataobjectrequiredShow child attributes
branchIdnull | stringrequiredcreatedAtstring · date-timerequiredidstringrequiredlogicalIdnull | stringrequirednamestringrequiredprojectobjectrequiredShow child attributes
idstringrequirednamestringrequiredurlstring · urirequiredproviderNamestringrequiredstatusstringrequiredtypestringrequiredurlstring · urirequired{
"data": {
"branchId": "string",
"createdAt": "2026-06-09T00:00:00Z",
"id": "string",
"logicalId": "string",
"name": "string",
"project": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"providerName": "string",
"status": "string",
"type": "bucket",
"url": "https://example.com"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}