API SpecificationFolders
Update folder
Updates folder properties including name, color, directory listing visibility, and access settings.
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
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketFoldersService/UpdateFolder" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "inheritPrivateAccess": true, "hasPublicDirectoryListing": true }'{
"folder": {
"folderId": "string",
"path": "string",
"parentPath": "string",
"colour": "string",
"hasPublicDirectoryListing": true,
"inheritedHasDirectoryListing": true,
"privateAccess": true,
"inheritedPrivateAccess": true,
"isShareRoot": true,
"scopingOauthClientId": "dfbc0836-6edf-40f5-a722-cd887dfac017",
"scopingOauthClient": {
"clientId": "string",
"name": "string",
"websiteUrl": "string",
"logoUrl": "string",
"description": "string",
"isVerified": true,
"createdAt": "2023-01-15T01:30:15.01Z",
"applicationBindings": [
{
"applicationId": "string",
"config": {
"jsonConfig": {
"property1": {},
"property2": {}
}
}
}
]
}
}
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}