Files

Update a file

Update a file

patch/v1/files/{file_id}

Request

  • Base URL
    https://api.capacity.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-capacity-id
    • or HTTP bearer

Path parameters

file_idstring required

ID of the file

Request body

namestring required

The new name of the file

folder_idstring

ID of the folder that the file needs to be moved to

is_publicboolean

Whether the file is public

replace_duplicateboolean

Whether to replace the existing file if there is one with the same name under the same folder that the file is being moved to

tag_idsstring[]

IDs of global tags to associate with file. Any existing tags not provided will be removed.

tag_namesstring[]

Names of global tags to associate with file. Any existing tags not provided will be removed.

Response

The updated file

bodyobject

Json body data in the request

parametersobject

Query parameters in the request

Changes

No recorded changes to this operation across all 1 revision of this API.