Files

Updates the file's display name. Metadata only: storage is keyed by id, so the object never moves and existing URLs keep working, and past deliveries keep the name they were sent under. Only an uploaded file can be renamed; a captured file's name is part of its provenance, so renaming one is rejected.

patch/files/{file_id}

Request

Path parameters

file_idstring uuid required

file identifier to rename

Request body

filenamestring required

New display name for the file.

Response

OK

Changes

    • warning

      added the new message enum value to the / response property for the response status

    • info

      api operation id files_rename removed and replaced with files_update

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added