hosting

Move or copy a hosted asset

Move or copy a hosted asset to a new resource path.

post/groups/{groupId}/apps/{appId}/hosting/assets

Request

  • Base URL
    https://services.cloud.mongodb.com/api/admin/v3.0
  • URL
    https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/hosting/assets
  • Auth
    HTTP bearer

Request body

move_fromstring

The current resource path of the asset to move. Must be used with move_to.

move_tostring

The resource path to which the asset will move. Must be used with move_from.

copy_fromstring

The current resource path of the asset to copy. Must be used with copy_to.

copy_tostring

The resource path to which the asset will be copied. Must be used with copy_from.

Response

Successfully moved/copied the hosted asset.

Changes

No recorded changes to this operation across all 50 revisions of this API.