Update FileInformation in Bucket
PATCH
/mongodb/buckets/{bucketName}/files/{fileId}
Replace the metadata and optionally the file name
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
bucketName*
The name of your MongoDb Collection
Type
Requiredstring
fileId*
fileId to update
Type
Requiredstring
Request Body
application/json
JSON "filename": "string", "metadata": { "additionalProperties": null }
{
}
Responses
application/json
JSON "wasAcknowledged": true, "upsertedIds": [ "string" ], "modifiedCount": 0, "matchedCount": 0
{
}
