Drive > Files
Create team directory
Create team directory.
post/3/drive/{drive_id}/files/team_directory
Path parameters
drive_idinteger required
Drive identifier
Query parameters
withstring
Optional : Allows loading additional data about a resource, which may include related resources.
Request body
Example request
{
"color": "#0098ff"
}Response
OK
Example response
{
"result": "success",
"data": {
"name": "Directory V3",
"path": "/full/path/Directory V3",
"type": "file",
"status": "locked",
"drive_id": 1111,
"depth": 3,
"shared_root_id": 1,
"sharelink": {
"url": "https://kdrive.infomaniak.com/app/share/xxxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",
"right": "inherit"
},
"lock": {
"description": "365",
"token": "onlyoffice:123456"
},
"categories": [
{
"user_validation": "TO_VALIDATE",
"category": {
"color": "#FF1493"
}
}
],
"color": "#0098ff",
"external_import": {
"application": "dropbox",
"status": "canceled"
},
"rewind": {
"status": "canceled",
"mode": "directory",
"archiving": "all"
}
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.