Routescope APIRoutescope API
Model API DocumentationVideo Models

Delete Asset From Group

Delete a single asset from an asset group.

Delete a single asset from an asset group. The server only validates whether the asset group groupId belongs to the current user. The upstream service validates whether assetId exists in that asset group.

DELETE
/v1/api/video-studio/assets/ecloud/{groupId}/assets/{assetId}
curl -X DELETE "https://api.routescope.ai/v1/api/video-studio/assets/ecloud/string/assets/string"
{
  "data": {
    "deleted": true,
    "scope": "group_asset"
  },
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}
{
  "data": null,
  "error": {
    "code": "not_found",
    "message": "asset group not found"
  },
  "request_id": "req_xxx"
}

Authorization

BearerAuth

AuthorizationBearer <token>

Use this project's gateway token: Authorization: Bearer <API_TOKEN>. This is not the upstream asset-library API key.

In: header

Path Parameters

groupId*string

Asset group ID returned by the upstream service. This project validates the local ownership relation for this groupId against the current user.

assetId*string

Asset ID returned by the upstream service.

Response Body

application/json

application/json

Last updated on