Nurama Developers
Projects

Delete items from public file system

Deletes items from the public file system. Paths are relative to `public/{publicId}`. Requires `canDeletePublicFileSystemItems`; the token must belong to `projectId`. Does NOT check token expiration.

PUT
/projects/{projectId}/public/{token}/files/delete

Deletes items from the public file system. Paths are relative to public/{publicId}. Requires canDeletePublicFileSystemItems; the token must belong to projectId. Does NOT check token expiration.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Unique ID of the project.

Formatuuid
token*string

The public access token of the file system. Must belong to projectId.

Match^[a-zA-Z0-9]{10}$
Length10 <= length <= 10

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/public/stringstri/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    }  ]}