Nurama Developers
Projects

Delete items within a submission

Paths are relative to `submission/{submissionId}`. Requires `canDeleteSubmissionItems`; the submission must belong to `projectId`. Recomputes the submission's inventory.

PUT
/projects/{projectId}/submission/{submissionId}/files/delete

Paths are relative to submission/{submissionId}. Requires canDeleteSubmissionItems; the submission must belong to projectId. Recomputes the submission's inventory.

Authorization

AuthorizationBearer <token>

OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.

In: header

Scope: projects:write

Path Parameters

projectId*string

Unique ID of the project.

Match^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Formatuuid
submissionId*string

The ID of the submission. Must belong to projectId.

Match^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Formatuuid

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/submission/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/delete" \  -H "Content-Type: application/json" \  -d '{    "itemPaths": [      "Renders/old.png"    ]  }'
{  "count": 1,  "virtualDestination": true,  "published": true,  "errors": [    {      "type": "string",      "message": "string",      "data": null    }  ]}