Skip to content

Restore assets from trash

Request

Security
ShuffllApiKey
Path
organizationIdstringrequired

Unique identifier for the organization

Example:693fb82afd8d1c43077ba0fb
workspaceIdstringrequired

Unique identifier for the workspace

Example:693fb82afd8d1c43077ba0fe
Bodyapplication/jsonrequired
assetIdsstring or Array of stringsrequired
Example:
[ "6947b539cc95ea68854bb523", "6947b539cc95ea68854bb524" ]
One of:

Single asset ID

string
curl -i -X POST \
  https://api-docs.shuffll.com/_mock/apis/auth/organization/693fb82afd8d1c43077ba0fb/workspace/693fb82afd8d1c43077ba0fe/assets/restore \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "assetIds": [
      "6947b539cc95ea68854bb523",
      "6947b539cc95ea68854bb524"
    ]
  }'

Responses

Restored asset IDs

Bodyapplication/json
restoredAssetIdsArray of strings
Response
{ "restoredAssetIds": [ "string" ] }