# Move or copy a hosted asset **POST /groups/{groupId}/apps/{appId}/hosting/assets** Move or copy a hosted asset to a new resource path. ## Servers - The root API resource and starting point for the App Services API.: https://services.cloud.mongodb.com/api/admin/v3.0 (The root API resource and starting point for the App Services API.) ## Authentication methods - Token auth ## Parameters #### Path parameters - **groupId** (string) An Atlas [Project/Group ID](https://docs.atlas.mongodb.com/tutorial/manage-projects/). - **appId** (string) The ObjectID of your application. [The App Services API Project and Application IDs section](#section/Project-and-Application-IDs) demonstrates how to find this value. ## Body parameters Content-type: application/json The hosted asset file and its metadata. (Must use `Content-Type: multipart/mixed`) - **move_from** (string) The current resource path of the asset to move. Must be used with `move_to`. - **move_to** (string) The resource path to which the asset will move. Must be used with `move_from`. - **copy_from** (string) The current resource path of the asset to copy. Must be used with `copy_to`. - **copy_to** (string) The resource path to which the asset will be copied. Must be used with `copy_from`. ## Responses ### 204: Successfully moved/copied the hosted asset. [Powered by Bump.sh](https://bump.sh)