Rename an uploaded media file or keep it in the workspace library
Rename an uploaded media file or keep it in the workspace library. Owned image, video, audio and font resources referenced by durable jsoncut-media URLs. Required API key scopes: `media:write`.
Authorization
apiKeyAuth Path Parameters
id*string
Resource identifier
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/media/string" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "data": { "id": "media_01J", "name": "hero-product-shot.png", "kind": "image", "mimeType": "image/png", "sizeBytes": 184320, "source": "https://api.jsoncut.com/api/v2/media/media_01J/content?token=short-lived", "reference": "jsoncut-media://media_01J", "retention": "project", "createdAt": "2026-08-25T09:10:00.000Z", "width": 1600, "height": 900 }}