Docs

Add Organization File

POST /organizations/{orgId}/files

POST/organizations/{orgId}/files

Creates a File in the organization's drive (give fileFormat and fileSize; upload the binary to the returned sasUri with an HTTP PUT and no Authorization header) or an ExternalLink (give url). Requires Edit on folderId, or drive-wide Edit at the root. A Deliverable or an ownerType answers 400: those belong to an event drive (Drives_AddFile).

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired

Request Body

FieldTypeRequiredDescription
folderIduuidOptional
typestringOptional
namestringOptional
descriptionstringOptional
fileFormatstringOptional
fileSizeintegerOptional
urlstringOptional
ownerTypestringOptional

Response

FieldTypeDescription
iduuid
namestring| null
typestring| null
folderIduuid| null
versionIduuid| null
sasUriuri| null