Skip to content

Rename asset

Request

Rename an existing asset by updating its display name.

Security
ShuffllApiKey
Path
organizationIdstringrequired

Unique identifier for the organization

Example:693fb82afd8d1c43077ba0fb
workspaceIdstringrequired

Unique identifier for the workspace

Example:693fb82afd8d1c43077ba0fe
assetIdstringrequired

Unique identifier for the asset

Example:6947b539cc95ea68854bb523
Bodyapplication/jsonrequired
newNamestringrequired

New display name for the asset

Example:"final-product-demo.mp4"
curl -i -X PUT \
  https://api-docs.shuffll.com/_mock/apis/auth/organization/693fb82afd8d1c43077ba0fb/workspace/693fb82afd8d1c43077ba0fe/assets/6947b539cc95ea68854bb523/file \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "newName": "final-product-demo.mp4"
  }'

Responses

Asset renamed successfully.

Bodyapplication/json
successboolean
Example:true
Response
{ "success": true }