hosting

Upload or replace a hosted asset

Upload or replace a hosted asset at a specific resource path.

put/groups/{groupId}/apps/{appId}/hosting/assets/asset

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/asset
  • Auth
    HTTP bearer

Query parameters

pathstring required

The resource path of a hosted asset.

Request body

filestring binary

The asset file to upload (encoded as binary).

Response

Successfully added/replaced the hosted asset.

Changes

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