Files

Update a file

Updates the metadata of an existing file object.

patch/v2/files/{file_id}

Path parameters

file_idstring required

File ID to update.

Request body

file_namestring required

New display file name, including extension when available.

Response

OK

Changes

Changed in 7 of the 251 revisions of this API.43

    • added the new FILE_PURPOSE_CODE_INTERPRETER enum value to the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the FILE_PURPOSE_CODE_INTERPRETER enum value from the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-removed

    This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new FILE_PURPOSE_CODE_INTERPRETER enum value to the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the FILE_PURPOSE_CODE_INTERPRETER enum value from the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-removed

    This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new FILE_PURPOSE_CODE_INTERPRETER enum value to the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the FILE_PURPOSE_CODE_INTERPRETER enum value from the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-removed

    This revision also has 43 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new FILE_PURPOSE_CODE_INTERPRETER enum value to the file/allOf[File]/purpose response property for the response status 200

      response-property-enum-value-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 251 revisions, 71 have no diff computed.