# Change file path **PATCH /{client}/{file}** ## Servers ## Authentication methods - Api key ## Parameters ## Body parameters Content-type: - **slug** (string) New file name ## Responses ### 200: Info about file #### Body Parameters: (object) - **name** (string) - **owner** (string) - **visibility** (string) - **path** (string) file path without domain - **mime** (string) - **size** (number) size of a file in bytes - **lastModified** (number) UNIX timestamp of the last time the file was modified ### 500: unexpected error #### Body Parameters: (object) - **message** (string) - **code** (number) [Powered by Bump.sh](https://bump.sh)