Nurama Developers
Projects

Delete items at specified paths within a project

Paths are relative to `project/{projectId}/{visibility}`. Requires `canDeleteCreatorItems` for `creator` and `canDeleteReviewerItems` for `reviewer`. Use `delete-preview` first to learn which secondary references the cascade will remove.

PUT
/projects/{projectId}/files/{visibility}/delete

Paths are relative to project/{projectId}/{visibility}. Requires canDeleteCreatorItems for creator and canDeleteReviewerItems for reviewer. Use delete-preview first to learn which secondary references the cascade will remove.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Unique ID of the project.

Formatuuid
visibility*string

Which tree to operate on — the creator tree or the reviewer tree.

Value in

  • "creator"
  • "reviewer"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/creator/delete" \  -H "Content-Type: application/json" \  -d '{    "itemPaths": [      "Renders/old.png"    ]  }'
{  "count": 1,  "virtualDestination": true,  "published": true,  "errors": [    {      "type": "string",      "message": "string",      "data": null    }  ]}