User Manual

Assets - Delete asset

ルートURL

GET https://playcanvas.com/api/assets/:assetId?branchId=:branchId

説明

Permanently delete an asset from a branch of your project. Warning deleting an asset is permanent and unrecoverable unless you have taken a checkpoint of it.

curl -H "Authorization: Bearer {accessToken}" -X DELETE "https://playcanvas.com/api/assets/{assetId}?branchId={branchId}"

HTTP Request

DELETE https://playcanvas.com/api/assets/{assetId}?branchId={branchId}
Authorization: Bearer {accessToken}

パラメータ

assetId: number

The id of the asset to delete

branchId: string

The id of the branch to delete the asset from

応答のスキーマ

Status: 200

エラー

401

Unauthorized

403

Forbidden

404

Project or Asset not found

429

Too many requests

レート制限

このルートはnormalなレート制限を使用します。

This site is translated by the community. If you want to get involved visit this page