DocsAPI ReferenceAbout
DocsAPI ReferenceAbout
  1. Assets
  • Overview
  • Getting Started
  • Authentication
  • Permissions
  • Using the Marvia CDN
  • API Reference
    • Users
      • Get a user
      • Delete a user
      • List
      • Create a new user
    • Products
      • List products
    • Locations
      • Update a location
      • Get a location
      • Delete a location
      • List locations
      • Create a new location
    • Groups
      • Get a group
      • Update a group
      • Delete a group
      • List groups
      • Create a new group
    • Uploads
      • Initialize multipart upload
      • Complete multipart upload
    • Assets
      • List assets
        GET
      • Create a new asset
        POST
      • Get asset by UUID
        GET
      • Update an asset
        PATCH
      • Search assets
        GET
  1. Assets

Update an asset

Production
https://api-v2.getmarvia.com
Production
https://api-v2.getmarvia.com
PATCH
https://api-v2.getmarvia.com
/v1/assets/{uuid}
Required Permission: update:assets
This endpoint requires an API key with the update:assets permission. Make sure your token was created with this permission during token creation.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Success
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api-v2.getmarvia.com/v1/assets/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "translations": [
        {
            "locale": "string",
            "name": "string",
            "description": "string"
        }
    ],
    "sysFileUuid": "e49d62e7-0d21-449b-bb5e-e29667cee36f",
    "imageRights": "string",
    "usageRights": "string",
    "expirationDate": "string"
}'
Response Response Example
200 - Example 1
{
    "_tag": "Success",
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
    }
}
Modified at 2025-09-08 06:20:01
Previous
Get asset by UUID
Next
Search assets
Built with